summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorKorri <Korri@kPC>2012-04-17 06:35:08 +0200
committerKorri <Korri@kPC>2012-04-17 06:35:08 +0200
commit3684d349d1f5239ad9703c07f14ae77389818daf (patch)
treefae6248b6f600a9733fa1a2f41719f22c5859ee2 /system
parent0f2211711deceb74157d6811116acc0376d3157d (diff)
Adding a package adds configuration folder to the end of the list.
Diffstat (limited to 'system')
-rw-r--r--system/core/Loader.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 027ed20e5..a4039c6f0 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -673,7 +673,7 @@ class CI_Loader {
// Add config file path
$config =& $this->_ci_get_component('config');
- array_unshift($config->_config_paths, $path);
+ array_push($config->_config_paths, $path);
}
// --------------------------------------------------------------------
@@ -713,7 +713,7 @@ class CI_Loader {
array_shift($this->_ci_model_paths);
array_shift($this->_ci_helper_paths);
array_shift($this->_ci_view_paths);
- array_shift($config->_config_paths);
+ array_pop($config->_config_paths);
}
else
{