- 更新排版

This commit is contained in:
icret
2023-02-04 14:38:53 +08:00
parent 8bf246c6b1
commit 1383a71082
2 changed files with 21 additions and 12 deletions

View File

@@ -10,6 +10,15 @@ session_start();
require_once __DIR__ . '/../application/function.php';
require_once APP_ROOT . '/config/config.php';
// 开启tinyfilemanager文件管理
if (!$config['tinyfilemanager']) {
require_once APP_ROOT . '/application/header.php';
echo '<h4 class="alert alert-danger">文件管理已关闭~~</h4>';
header("refresh:3;url=" . $config['domain'] . '?manag-closed');
require_once APP_ROOT . '/application/footer.php';
exit;
}
// 根路径
RexHelper::$root = APP_ROOT . $config['path'];
@@ -18,7 +27,6 @@ RexHelper::$users = array(
$config['user'] => array('password' => $config['password']),
);
/**结束 - 自定义修改 */
?>
<!DOCTYPE html>