diff options
author | Andrey Andreev <narf@devilix.net> | 2016-02-15 13:33:34 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-02-15 13:33:34 +0100 |
commit | 2a34081c5e1b8a86d2d3f87c3da69b9d580d6027 (patch) | |
tree | cc6711d21017e211a71b800ef66c821622addb0b /system/core/URI.php | |
parent | 2426635afc58f7bbf8355e80d4228076321a669d (diff) |
Pass CI_Config as a parameter to CI_URI constructor
Diffstat (limited to 'system/core/URI.php')
-rw-r--r-- | system/core/URI.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index 79cf640b9..7c93e36b7 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -96,9 +96,9 @@ class CI_URI { * * @return void */ - public function __construct() + public function __construct(CI_Config &$config) { - $this->config =& load_class('Config', 'core'); + $this->config = $config; // If it's a CLI request, ignore the configuration if (is_cli()) |