From a358608af34c0297ddffc15114b1d75c57d3e25c Mon Sep 17 00:00:00 2001 From: Bronco Date: Wed, 16 Oct 2013 18:54:46 +0200 Subject: [PATCH] issue GLOBAL missing --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 1df4c03..d0ffbbf 100644 --- a/index.php +++ b/index.php @@ -519,6 +519,7 @@ if (!$GLOBAL['public']){ // private function url_parts() { + global $GLOBAL; $url_p['s'] = parse_url($GLOBAL['url'], PHP_URL_SCHEME); $url_p['s'] = (is_null($url_p['s'])) ? '' : $url_p['s']; $url_p['h'] = parse_url($GLOBAL['url'], PHP_URL_HOST); $url_p['h'] = (is_null($url_p['h'])) ? '' : $url_p['h']; $url_p['p'] = parse_url($GLOBAL['url'], PHP_URL_PORT); $url_p['p'] = (is_null($url_p['p'])) ? '' : ':'.$url_p['p'];