summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
authorand-ers <anders_persson_360@yahoo.se>2013-01-03 16:05:12 +0100
committerand-ers <anders_persson_360@yahoo.se>2013-01-03 16:05:12 +0100
commitb3ec94252c0c96e0093fff4736fb10e80c615b24 (patch)
tree6783f7ed58f1ab2647755607ef49ab6a0b2e004e /system/core/Loader.php
parent594bfd726a1ecb4ac87cf035928395ed76b895b9 (diff)
Replaced array_push function reference with a faster ordinary element insertion method
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 3f20675a7..5e6c40050 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -714,7 +714,7 @@ class CI_Loader {
// Add config file path
$config =& $this->_ci_get_component('config');
- array_push($config->_config_paths, $path);
+ $config->_config_paths[] = $path;
}
// --------------------------------------------------------------------