Tencent / Biny

Biny is a tiny, high-performance PHP framework for web applications
BSD 3-Clause "New" or "Revised" License
1.69k stars 258 forks source link

大神在index.php中isMaintenance = TRUE,貌似没有作用,求解,谢谢 #59

Closed yuntianhev closed 6 years ago

yuntianhev commented 6 years ago

//判断是否维护中 if (isMaintenance){ return $this->display('Main/maintenance'); }

billge1205 commented 6 years ago

我的错 改成这样吧 //判断是否维护中 if (isMaintenance){ echo $this->display('Main/maintenance'); exit; } 这里可以自定义 维护页面的样式 在 maintenance.tpl.php 中编辑 不过的确这个逻辑很久没人用了

yuntianhev commented 6 years ago

好的,谢谢