diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_url.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php index 9eb424651..46a9c8627 100644 --- a/include/functions_url.inc.php +++ b/include/functions_url.inc.php @@ -37,17 +37,17 @@ function get_root_url() { $root_url = $page['root_path']; } - else + else { $root_url = PHPWG_ROOT_PATH; } if ( dirname($root_url)!='.' ) { return $root_url; - } - else + } + else { - return ''; + return substr($root_url, 2); } } |