82399103eb0521a9a57baf699606e09778f85b37
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($dir.'/../wwwroot/config/config.inc');
14 require(INCLUDE_DIR
.'/database.inc');
15 require(INCLUDE_DIR
.'/senate.inc');
16 require(INCLUDE_DIR
.'/log.inc');
18 $db = new CLASS_DATABASE();
19 $db->query('update users set user_k = '. DAILY_K
);
This page took 2.201036 seconds and 3 git commands to generate.