diff --git a/libs/Config_File.class.php b/libs/Config_File.class.php index 7c53178b..f6ee755a 100644 --- a/libs/Config_File.class.php +++ b/libs/Config_File.class.php @@ -99,8 +99,11 @@ class Config_File { $this->_trigger_error_msg("Bad config file path '$config_path'"); return; } + if(substr($config_path, -1) != DIRECTORY_SEPARATOR) { + $config_path .= DIRECTORY_SEPARATOR; + } - $this->_config_path = $config_path . DIRECTORY_SEPARATOR; + $this->_config_path = $config_path; } }