X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdirectory.php;h=85476bd5fdf498eaed07787c6c8e695732c2bd1f;hb=b10f9fdb041785fb4c21f5dc8661ce3561471b00;hp=aed700fa8ac2ac593ad9f10a1e0b506bdf6865e5;hpb=f6ee51bcd7727202205b2e41cd7faef30803fd85;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);