修复 session
This commit is contained in:
parent
9d398ed038
commit
aaf393aa68
|
@ -3,5 +3,6 @@
|
||||||
if (!file_exists('install/install.lock'))
|
if (!file_exists('install/install.lock'))
|
||||||
exit('<title>六零导航页 - 安装程序</title>您还未安装,点击<a href="install"><font color="blue">这里</font></a>开始安装!');
|
exit('<title>六零导航页 - 安装程序</title>您还未安装,点击<a href="install"><font color="blue">这里</font></a>开始安装!');
|
||||||
include "./include/common.php";
|
include "./include/common.php";
|
||||||
|
session_start();
|
||||||
include $template;
|
include $template;
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -43,8 +43,7 @@ if (!empty($q)) {
|
||||||
else{ echo '<body>';}?>
|
else{ echo '<body>';}?>
|
||||||
<div id="menu"><i></i></div>
|
<div id="menu"><i></i></div>
|
||||||
<div class="list closed">
|
<div class="list closed">
|
||||||
<?php
|
<?php
|
||||||
session_start(); //设置session
|
|
||||||
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC");
|
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC");
|
||||||
// 获取分类
|
// 获取分类
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
|
@ -9,9 +9,7 @@
|
||||||
// | Authors: LyLme <admin@lylme.com> |
|
// | Authors: LyLme <admin@lylme.com> |
|
||||||
// | date: 2022-05-01 |
|
// | date: 2022-05-01 |
|
||||||
// +----------------------------------------------------------+
|
// +----------------------------------------------------------+
|
||||||
session_start(); //设置session
|
|
||||||
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
|
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
|
||||||
|
|
||||||
$i = 0; //设置起始
|
$i = 0; //设置起始
|
||||||
while ($group = $DB->fetch($groups)) {
|
while ($group = $DB->fetch($groups)) {
|
||||||
//循环所有分组
|
//循环所有分组
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
// | Authors: LyLme <admin@lylme.com> |
|
// | Authors: LyLme <admin@lylme.com> |
|
||||||
// | date: 2022-3-12 |
|
// | date: 2022-3-12 |
|
||||||
// +----------------------------------------------------------+
|
// +----------------------------------------------------------+
|
||||||
|
|
||||||
session_start(); //设置session
|
|
||||||
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
|
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
|
||||||
$i = 0; //设置起始
|
$i = 0; //设置起始
|
||||||
while ($group = $DB->fetch($groups)) { //循环所有分组
|
while ($group = $DB->fetch($groups)) { //循环所有分组
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
// | Authors: LyLme <admin@lylme.com> |
|
// | Authors: LyLme <admin@lylme.com> |
|
||||||
// | date: 2022-3-12 |
|
// | date: 2022-3-12 |
|
||||||
// +----------------------------------------------------------+
|
// +----------------------------------------------------------+
|
||||||
|
|
||||||
session_start(); //设置session
|
|
||||||
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
|
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($group = $DB->fetch($groups)) { //循环所有分组
|
while ($group = $DB->fetch($groups)) { //循环所有分组
|
||||||
|
|
Loading…
Reference in New Issue