modules/doc: Tell which doc directory does not exist, in case it does not exist :)

Thanks Michael

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-23 14:16:58 +02:00
parent 5627c09b37
commit 89bddb10e7

View File

@ -44,7 +44,7 @@ class DocParser
$dir = $mm->getModuleDir($module, '/doc');
}
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->module = $module;