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