Cleaning up ugly path

This commit is contained in:
Thomas Gelf 2013-10-22 20:20:06 +00:00
parent 115d07fb81
commit e57b75b354
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class Manager
{ {
$this->app = $app; $this->app = $app;
if (empty($availableDirs)) { if (empty($availableDirs)) {
$availableDirs = array(ICINGA_APPDIR . '/../modules'); $availableDirs = array(realpath(ICINGA_APPDIR . '/../modules'));
} }
$this->modulePaths = $availableDirs; $this->modulePaths = $availableDirs;
if ($enabledDir === null) { if ($enabledDir === null) {