X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdirectory.php;h=85476bd5fdf498eaed07787c6c8e695732c2bd1f;hb=9ecd901e446cff7d693523de72b3033cfb40914a;hp=aed700fa8ac2ac593ad9f10a1e0b506bdf6865e5;hpb=cce561708a21b89f042a9ad812aca3a4a2abd9b3;p=friendica.git diff --git a/include/directory.php b/include/directory.php index aed700fa8a..85476bd5fd 100644 --- a/include/directory.php +++ b/include/directory.php @@ -7,7 +7,7 @@ function directory_run(&$argv, &$argc){ if(is_null($a)) { $a = new App; } - + if(is_null($db)) { @include(".htconfig.php"); require_once("include/dba.php"); @@ -29,11 +29,13 @@ function directory_run(&$argv, &$argc){ $a->set_baseurl(get_config('system','url')); - $dir = get_config('system','directory_submit_url'); + $dir = get_config('system','directory'); if(! strlen($dir)) return; + $dir .= "/submit"; + $arr = array('url' => $argv[1]); call_hooks('globaldir_update', $arr);