Merge pull request #3446 from Hypolite/improvement/move-app-to-src-2
Hotfix for missing Exception class
This commit is contained in:
commit
5c77f45bda
|
@ -192,7 +192,7 @@ class App {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! static::directory_usable($basepath)) {
|
if (! static::directory_usable($basepath)) {
|
||||||
throw new Exception('Basepath ' . $basepath . ' isn\'t usable.');
|
throw new \Exception('Basepath ' . $basepath . ' isn\'t usable.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->basepath = rtrim($basepath, DIRECTORY_SEPARATOR);
|
$this->basepath = rtrim($basepath, DIRECTORY_SEPARATOR);
|
||||||
|
|
Loading…
Reference in a new issue