X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdirectory.php;h=aed700fa8ac2ac593ad9f10a1e0b506bdf6865e5;hb=cbe4e2bf8c7b6fea2e700811a15b427e6141c9dd;hp=29a793a2a01ecba93efe2a11ac7b6adea3d1d7ff;hpb=70d0ed9402f67ec31ed5057c28fbab7e230ccd58;p=friendica.git diff --git a/include/directory.php b/include/directory.php index 29a793a2a0..aed700fa8a 100644 --- a/include/directory.php +++ b/include/directory.php @@ -10,7 +10,7 @@ function directory_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); }; @@ -46,6 +46,6 @@ function directory_run(&$argv, &$argc){ } if (array_search(__file__,get_included_files())===0){ - directory_run($argv,$argc); + directory_run($_SERVER["argv"],$_SERVER["argc"]); killme(); }