$hook_name, 'is_backend' => true, 'params' => &$params, ]); } /** * 系统运行结束 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 * @date 2019-03-18 * @desc description * @param [array] $params [输入参数] */ public static function SystemEnd($params = []) { $hook_name = 'plugins_service_system_end'; MyEventTrigger($hook_name, [ 'hook_name' => $hook_name, 'is_backend' => true, 'params' => &$params, ]); } /** * 系统安装检查 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 * @date 2021-07-18 * @desc description * @param [array] $params [输入参数] */ public static function SystemInstallCheck($params = []) { if(!file_exists(ROOT.'config/database.php')) { MyRedirect(__MY_URL__.'install.php?s=index/index', true); } } } ?>