1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace app\index\controller;
- use app\common\controller\Common;
- class Home extends Common
- {
-
- protected function initialize()
- {
-
- if (!config('web_site_status')) {
- $this->error('站点已经关闭,请稍后访问~');
- }
- }
- }
|