diff --git a/phpBB/develop/most_users_update.php b/phpBB/develop/most_users_update.php new file mode 100644 index 0000000000..6f78390218 --- /dev/null +++ b/phpBB/develop/most_users_update.php @@ -0,0 +1,29 @@ + + +\n" . $sql = "INSERT INTO " . CONFIG_TABLE . " + (config_name, config_value) VALUES ('record_online_users', '1')"; + if( !$result = $db->sql_query($sql) ) + { + + message_die(GENERAL_ERROR, "Couldn't insert config key 'record_online_users'", "", __LINE__, __FILE__, $sql); + } + + echo "\n
\n" . $sql = "INSERT INTO " . CONFIG_TABLE . " + (config_name, config_value) VALUES ('record_online_date', '".time()."')"; + if( !$result = $db->sql_query($sql) ) + { + message_die(GENERAL_ERROR, "Couldn't insert config key 'record_online_date'", "", __LINE__, __FILE__, $sql); + } + + echo "\n
\nCOMPLETE"; + +?> + + \ No newline at end of file