Don't let config path seem absolute where it isn't

refs #6534
This commit is contained in:
Alexander Klimov 2014-06-24 10:11:08 +02:00
parent 1385667edc
commit ff87588d96

View File

@ -165,7 +165,7 @@ class Config extends Zend_Config
*/ */
public static function resolvePath($path) public static function resolvePath($path)
{ {
if (strpos($path, DIRECTORY_SEPARATOR) === 0) { if (strpos($path, DIRECTORY_SEPARATOR) === 0 || self::$configDir === false) {
return $path; return $path;
} }