mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-21 12:31:48 +02:00
Never manage _h5ai app folder.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user