]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Rename include/Scrape to include/probe
[friendica.git] / include / nav.php
index b184f11806ac95ada80b0bab3c8a8133ab232a87..e2633be0af5eb3dc2ea18d3fa5b2dbc1f0b3a521 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 function nav(App $a) {
 
        /*
@@ -8,7 +10,7 @@ function nav(App $a) {
         *
         */
 
-       if (!(x($a->page,'nav')))
+       if(!(x($a->page,'nav')))
                $a->page['nav'] = '';
 
        $a->page['htmlhead'] .= replace_macros(get_markup_template('nav_head.tpl'), array());
@@ -136,7 +138,7 @@ function nav_info(App $a)
 
        if (strlen(get_config('system', 'singleuser'))) {
                $gdir = get_config('system', 'directory');
-               if (strlen($gdir)) {
+               if(strlen($gdir)) {
                        $gdirpath = zrl($gdir, true);
                }
        } elseif (get_config('system', 'community_page_style') == CP_USERS_ON_SERVER) {