You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
v2.8.1
This commit is contained in:
@@ -6,7 +6,7 @@ require_once '../app/header.php';
|
||||
require_once APP_ROOT . '/app/chart.php';
|
||||
|
||||
// 检测登录和是否开启统计
|
||||
if (!$config['chart_on'] && !is_who_login('admin')) exit(header('Location: ' . $config['domain'] . '?hart#closed'));
|
||||
if (!$config['chart_on'] || !is_who_login('admin')) exit(header('Location: ' . $config['domain'] . '?hart#closed'));
|
||||
|
||||
// 删除统计文件
|
||||
if (isset($_POST['del_total'])) {
|
||||
|
||||
@@ -6,7 +6,7 @@ require_once '../app/header.php';
|
||||
require_once APP_ROOT . '/app/chart.php';
|
||||
|
||||
// 检测是否开启统计
|
||||
if (!$config['chart_on']) exit(header('Location: ' . $config['domain'] . '?chart#closed'));
|
||||
if (!$config['chart_on'] || !is_who_login('admin')) exit(header('Location: ' . $config['domain'] . '?hart#closed'));
|
||||
|
||||
// 检测登录
|
||||
if (!is_who_login('admin')) {
|
||||
|
||||
Reference in New Issue
Block a user