diff options
author | Nate Silva <nate@natesilva.com> | 2015-11-06 16:10:44 +0100 |
---|---|---|
committer | Nate Silva <nate@natesilva.com> | 2015-11-06 16:10:44 +0100 |
commit | ae480daecb0f7aeed017c5cc5a67cc39b90be570 (patch) | |
tree | e351fd96a656bfd1af051697d068e33342404357 | |
parent | e735b1dfe14d1d6d955d142a30e8c83ba900fe2b (diff) |
Minor formatting: add empty line after else close
-rw-r--r-- | system/core/Config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/core/Config.php b/system/core/Config.php index 1d2a0d155..c507f342c 100644 --- a/system/core/Config.php +++ b/system/core/Config.php @@ -98,6 +98,7 @@ class CI_Config { { $server_addr = $_SERVER['SERVER_ADDR']; } + $base_url = (is_https() ? 'https' : 'http').'://'.$server_addr .substr($_SERVER['SCRIPT_NAME'], 0, strpos($_SERVER['SCRIPT_NAME'], basename($_SERVER['SCRIPT_FILENAME']))); } |