mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-12-01 21:15:20 +08:00
Setup:
* 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:
@@ -74,12 +74,12 @@ class SqlGen
|
||||
public static $defaultExecTime = 30;
|
||||
public static $stepSize = 1000;
|
||||
|
||||
public static function init()
|
||||
public static function init($firstrun = false)
|
||||
{
|
||||
self::$defaultExecTime = ini_get('max_execution_time');
|
||||
$doScripts = [];
|
||||
|
||||
if (getopt(self::$shortOpts, self::$longOpts))
|
||||
if (getopt(self::$shortOpts, self::$longOpts) || $firstrun)
|
||||
self::handleCLIOpts($doScripts);
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user