* added parameter --firstrun to use for initial setup. Runs almost by itself..
 * added 'ping home' for statistical purpose
Spell:
 * fixed copy/paste error
This commit is contained in:
Sarjuuk
2015-06-27 18:01:22 +02:00
parent b3f26d9d9d
commit ea538b0040
8 changed files with 387 additions and 90 deletions

View File

@@ -158,10 +158,7 @@ if (!CLI)
$res = $$s();
$out[$s] = $res;
if (!$res)
{
CLISetup::log('statistics - generator $'.$s.'() returned empty', CLISetup::LOG_WARN);
$success = false;
}
}
$toFile = 'g_statistics = '.preg_replace('/"\$([^$"]+)"/', '\1', Util::toJSON($out)).';';