修复 session

This commit is contained in:
LyLme 2022-05-22 14:09:51 +08:00
parent 9d398ed038
commit aaf393aa68
5 changed files with 2 additions and 8 deletions

View File

@ -3,5 +3,6 @@
if (!file_exists('install/install.lock'))
exit('<title>六零导航页 - 安装程序</title>您还未安装,点击<a href="install"><font color="blue">这里</font></a>开始安装!');
include "./include/common.php";
session_start();
include $template;
?>

View File

@ -43,8 +43,7 @@ if (!empty($q)) {
else{ echo '<body>';}?>
<div id="menu"><i></i></div>
<div class="list closed">
<?php
session_start(); //设置session
<?php
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC");
// 获取分类
$i = 0;

View File

@ -9,9 +9,7 @@
// | Authors: LyLme <admin@lylme.com> |
// | date: 2022-05-01 |
// +----------------------------------------------------------+
session_start(); //设置session
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
$i = 0; //设置起始
while ($group = $DB->fetch($groups)) {
//循环所有分组

View File

@ -9,8 +9,6 @@
// | Authors: LyLme <admin@lylme.com> |
// | date: 2022-3-12 |
// +----------------------------------------------------------+
session_start(); //设置session
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
$i = 0; //设置起始
while ($group = $DB->fetch($groups)) { //循环所有分组

View File

@ -9,8 +9,6 @@
// | Authors: LyLme <admin@lylme.com> |
// | date: 2022-3-12 |
// +----------------------------------------------------------+
session_start(); //设置session
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
$i = 0;
while ($group = $DB->fetch($groups)) { //循环所有分组