From: Fabrixxm Date: Mon, 5 Nov 2012 08:28:54 +0000 (+0100) Subject: pass $argv & $argc as reference to *_run() functions. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=385ee5a86207106408a20a3d2ec6dbeb3a313238;p=friendica.git pass $argv & $argc as reference to *_run() functions. --- diff --git a/include/cronhooks.php b/include/cronhooks.php index 37541f013e..27cf642b22 100644 --- a/include/cronhooks.php +++ b/include/cronhooks.php @@ -3,7 +3,7 @@ require_once("boot.php"); -function cronhooks_run($argv, $argc){ +function cronhooks_run(&$argv, &$argc){ global $a, $db; if(is_null($a)) { diff --git a/include/directory.php b/include/directory.php index 45386183c6..356118bb08 100644 --- a/include/directory.php +++ b/include/directory.php @@ -1,7 +1,7 @@ \n\n";