Replaced $argv and $argc with the $_SERVER array
This commit is contained in:
+1
-1
@@ -301,6 +301,6 @@ function poller_run(&$argv, &$argc){
|
||||
}
|
||||
|
||||
if (array_search(__file__,get_included_files())===0){
|
||||
poller_run($argv,$argc);
|
||||
poller_run($_SERVER["argv"],$_SERVER["argc"]);
|
||||
killme();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user