4 * Script that restores number of K for all users.
9 // Use relative address of config file
10 // Change this, if you move you cron directory.
11 $dir=substr(__FILE__
, 0, strrpos(__FILE__
, '/'));
12 require_once($dir.'/../wwwroot/config/config.inc');
14 require_once(INCLUDE_DIR
.'/database.inc');
15 require_once(INCLUDE_DIR
.'/log.inc');
17 $db = new CLASS_DATABASE();
18 $db->query('update users set user_k = '. DAILY_K
);
This page took 0.2518 seconds and 4 git commands to generate.