lylme_spage/index.php

12 lines
320 B
PHP
Raw Permalink Normal View History

2022-01-21 18:04:06 +08:00
<?php
2023-12-16 17:20:06 +08:00
2022-01-21 18:04:06 +08:00
@header('Content-Type: text/html; charset=UTF-8');
2023-12-16 17:20:06 +08:00
if (!file_exists('install/install.lock')) {
header("Location:/install");
exit();
}
require "./include/common.php";
2022-05-23 13:04:15 +08:00
session_start(); //设置session
2023-12-16 17:20:06 +08:00
$_SESSION['list'] = isset($_SESSION['list']) ? $_SESSION['list'] : array();
require $template;