Merge pull request #3446 from Hypolite/improvement/move-app-to-src-2

Hotfix for missing Exception class
This commit is contained in:
Tobias Diekershoff 2017-05-07 21:27:12 +02:00 committed by GitHub
commit 5c77f45bda

View File

@ -192,7 +192,7 @@ class App {
}
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);