mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
parent
1385667edc
commit
ff87588d96
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user