mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
modules/doc: Tell which doc directory does not exist, in case it does not exist :)
Thanks Michael refs #4820
This commit is contained in:
parent
5627c09b37
commit
89bddb10e7
@ -44,7 +44,7 @@ class DocParser
|
|||||||
$dir = $mm->getModuleDir($module, '/doc');
|
$dir = $mm->getModuleDir($module, '/doc');
|
||||||
}
|
}
|
||||||
if (! is_dir($dir)) {
|
if (! is_dir($dir)) {
|
||||||
throw new DocException('Doc directory does not exist');
|
throw new DocException('Doc directory `' . $dir .'\' does not exist');
|
||||||
}
|
}
|
||||||
$this->dir = $dir;
|
$this->dir = $dir;
|
||||||
$this->module = $module;
|
$this->module = $module;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user