summaryrefslogtreecommitdiffstats
path: root/system/core/URI.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/URI.php')
-rw-r--r--system/core/URI.php4
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())