From ff87588d969f8f69ff916cc2d7d1ef4ed2acfbeb Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Tue, 24 Jun 2014 10:11:08 +0200 Subject: [PATCH] Don't let config path seem absolute where it isn't refs #6534 --- library/Icinga/Application/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Config.php b/library/Icinga/Application/Config.php index 596e1fe2b..1c6b6ba49 100644 --- a/library/Icinga/Application/Config.php +++ b/library/Icinga/Application/Config.php @@ -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; }