Merge pull request #1274 from annando/issue-1218

Issue 1218: generate $argv and $argc from $_SERVER if it wasn't defined
This commit is contained in:
fabrixxm 2015-01-09 11:44:38 +01:00
commit 418ac91c31
15 changed files with 53 additions and 54 deletions

View file

@ -1346,6 +1346,6 @@ function dbstructure_run(&$argv, &$argc) {
}
if (array_search(__file__,get_included_files())===0){
dbstructure_run($argv,$argc);
dbstructure_run($_SERVER["argv"],$_SERVER["argc"]);
killme();
}