summaryrefslogtreecommitdiffstats
path: root/system/core/Config.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-03-15 18:03:43 +0100
committerAndrey Andreev <narf@devilix.net>2015-03-15 18:03:43 +0100
commit7f310d63d61e9b334385ef5f6501129d685924ba (patch)
tree7ad8b3cc8d085fc038125ce802ee0571d69a4461 /system/core/Config.php
parentf58930755e906895af2b04d6c438e1bbf26e154f (diff)
[ci skip] Use DIRECTORY_SEPARATOR instead of / in CI_Config
Diffstat (limited to 'system/core/Config.php')
-rw-r--r--system/core/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Config.php b/system/core/Config.php
index b9af8e3b2..d07000ac9 100644
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -123,7 +123,7 @@ class CI_Config {
foreach ($this->_config_paths as $path)
{
- foreach (array($file, ENVIRONMENT.'/'.$file) as $location)
+ foreach (array($file, ENVIRONMENT.DIRECTORY_SEPARATOR.$file) as $location)
{
$file_path = $path.'config/'.$location.'.php';
if (in_array($file_path, $this->is_loaded, TRUE))