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
1 changed files with 1 additions and 1 deletions

View File

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