mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update ModuleService.php
This commit is contained in:
parent
cebbc0f1f4
commit
525e2b1d2b
@ -199,7 +199,7 @@ class ModuleService extends Service
|
||||
return false;
|
||||
}
|
||||
// 禁止非官方演示项目下载
|
||||
if (stripos($this->app->request->domain(), 'thinkadmin.top') === false) {
|
||||
if (!SystemService::instance()->checkRunMode('dev')) {
|
||||
return false;
|
||||
}
|
||||
// 检查允许下载的文件规则
|
||||
|
Loading…
x
Reference in New Issue
Block a user