Skip to content

Commit

Permalink
Merge pull request #1262 from Korri/develop
Browse files Browse the repository at this point in the history
Fix Issue #627
  • Loading branch information
Phil Sturgeon committed Apr 26, 2012
2 parents ba46361 + 3684d34 commit 8ebd1b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/core/Loader.php
Expand Up @@ -673,7 +673,7 @@ public function add_package_path($path, $view_cascade=TRUE)

// Add config file path
$config =& $this->_ci_get_component('config');
array_unshift($config->_config_paths, $path);
array_push($config->_config_paths, $path);
}

// --------------------------------------------------------------------
Expand Down Expand Up @@ -713,7 +713,7 @@ public function remove_package_path($path = '', $remove_config_path = TRUE)
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
{
Expand Down

0 comments on commit 8ebd1b7

Please sign in to comment.