This commit is contained in:
icret
2023-04-12 15:30:49 +08:00
parent 9a3780a0ee
commit 55a7c2e51a
11 changed files with 51 additions and 8 deletions

View File

@@ -1,4 +1,8 @@
<?php
/** 禁止直接访问 */
defined('APP_ROOT') ?: exit;
// 跳转安装
if (!is_file(APP_ROOT . '/config/install.lock') and is_file(APP_ROOT . '/install/install.php')) {
exit('<script type="text/javascript">window.location.href="' . get_whole_url('/') . '/install/index.php"</script>');