mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 14:35:18 -04:00
Never manage _h5ai app folder.
This commit is contained in:
parent
2ada89e665
commit
f18970f67f
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue