mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-01 07:48:20 -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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($path === APP_PATH || strpos($path, APP_PATH . '/') === 0) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($this->options["view"]["unmanaged"] as $name) {
|
foreach ($this->options["view"]["unmanaged"] as $name) {
|
||||||
if (file_exists($path . "/" . $name)) {
|
if (file_exists($path . "/" . $name)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue