From 3b8b41c3f65b147d43691b942799f09de00fedb0 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sat, 11 Jun 2016 00:41:35 +0200 Subject: [PATCH] IcingaCommand: allow lowercase drives (e.g. c:) fixes #11906 --- library/Director/Objects/IcingaCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Objects/IcingaCommand.php b/library/Director/Objects/IcingaCommand.php index 9ba9a6db..aefb8c3c 100644 --- a/library/Director/Objects/IcingaCommand.php +++ b/library/Director/Objects/IcingaCommand.php @@ -115,7 +115,7 @@ class IcingaCommand extends IcingaObject { return $path[0] === '/' || $path[0] === '\\' - || preg_match('/^[A-Z]:\\\/', substr($path, 0, 3)); + || preg_match('/^[A-Za-z]:\\\/', substr($path, 0, 3)); } public static function setPluginDir($pluginDir)