From e57b75b354fa380fa0a7009e16ceb2e53625e156 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 22 Oct 2013 20:20:06 +0000 Subject: [PATCH] Cleaning up ugly path --- library/Icinga/Application/Modules/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Modules/Manager.php b/library/Icinga/Application/Modules/Manager.php index 31727f9a3..b71a7f32d 100644 --- a/library/Icinga/Application/Modules/Manager.php +++ b/library/Icinga/Application/Modules/Manager.php @@ -102,7 +102,7 @@ class Manager { $this->app = $app; if (empty($availableDirs)) { - $availableDirs = array(ICINGA_APPDIR . '/../modules'); + $availableDirs = array(realpath(ICINGA_APPDIR . '/../modules')); } $this->modulePaths = $availableDirs; if ($enabledDir === null) {