. * @author niel * @copyright 2016 nZEDb */ require_once '..'.DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; $updates = NN_CONFIGS.'updates.json'; if (! file_exists($updates)) { $json = ['script' => time()]; file_put_contents(json_encode($json, JSON_PRETTY_PRINT)); }