Never manage _h5ai app folder.

This commit is contained in:
Lars Jung 2015-03-29 16:47:02 +02:00
parent 2ada89e665
commit f18970f67f

View file

@ -145,6 +145,10 @@ class App {
return false;
}
if ($path === APP_PATH || strpos($path, APP_PATH . '/') === 0) {
return false;
}
foreach ($this->options["view"]["unmanaged"] as $name) {
if (file_exists($path . "/" . $name)) {
return false;