commit | b3ec94252c0c96e0093fff4736fb10e80c615b24 | [log] [tgz] |
---|---|---|
author | and-ers <anders_persson_360@yahoo.se> | Thu Jan 03 16:05:12 2013 +0100 |
committer | and-ers <anders_persson_360@yahoo.se> | Thu Jan 03 16:05:12 2013 +0100 |
tree | 6783f7ed58f1ab2647755607ef49ab6a0b2e004e | |
parent | 594bfd726a1ecb4ac87cf035928395ed76b895b9 [diff] [blame] |
Replaced array_push function reference with a faster ordinary element insertion method
diff --git a/system/core/Loader.php b/system/core/Loader.php index 3f20675..5e6c400 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php
@@ -714,7 +714,7 @@ // Add config file path $config =& $this->_ci_get_component('config'); - array_push($config->_config_paths, $path); + $config->_config_paths[] = $path; } // --------------------------------------------------------------------