]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Issue-#3873
[friendica.git] / mod / match.php
index 829ca39878013add74285641a4ad6c5d241ef18f..f268fbc8a4492a1e7313538c7fdac1becbfa3254 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\Config;
 use Friendica\Core\System;
 
 require_once('include/text.php');
@@ -48,7 +49,7 @@ function match_content(App $a) {
                if($a->pager['page'] != 1)
                        $params['p'] = $a->pager['page'];
 
-               if(strlen(get_config('system','directory')))
+               if(strlen(Config::get('system','directory')))
                        $x = post_url(get_server().'/msearch', $params);
                else
                        $x = post_url(System::baseUrl() . '/msearch', $params);