X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fexpire.php;h=a73272a2efd93b47824ebc75526c956dca95d934;hb=77986d76faf539df20cb598458332ae773bc5631;hp=755cd2494b94ee108547c45898649d61966a9823;hpb=10db2f00f9f90cb7ee9fbd94a5c986427de779c2;p=friendica.git diff --git a/include/expire.php b/include/expire.php index 755cd2494b..a73272a2ef 100644 --- a/include/expire.php +++ b/include/expire.php @@ -2,7 +2,7 @@ require_once("boot.php"); -function expire_run($argv, $argc){ +function expire_run(&$argv, &$argc){ global $a, $db; if(is_null($a)) { @@ -11,7 +11,7 @@ function expire_run($argv, $argc){ if(is_null($db)) { @include(".htconfig.php"); - require_once("dba.php"); + require_once("include/dba.php"); $db = new dba($db_host, $db_user, $db_pass, $db_data); unset($db_host, $db_user, $db_pass, $db_data); }; @@ -25,7 +25,6 @@ function expire_run($argv, $argc){ load_config('config'); load_config('system'); - $a->set_baseurl(get_config('system','url'));