]> git.mxchange.org Git - friendica.git/blobdiff - include/cronhooks.php
Replaced $argv and $argc with the $_SERVER array
[friendica.git] / include / cronhooks.php
index c0549dfff8a54734e00444dbe9df6197ef3af504..3a09da48ceb3a16dba777731ea2e3e72efb058ea 100644 (file)
@@ -66,6 +66,6 @@ function cronhooks_run(&$argv, &$argc){
 }
 
 if (array_search(__file__,get_included_files())===0){
-  cronhooks_run($argv,$argc);
+  cronhooks_run($_SERVER["argv"],$_SERVER["argc"]);
   killme();
 }