You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
changes
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
/*
|
||||
* 统计中心
|
||||
*/
|
||||
require_once '../application/header.php';
|
||||
require_once APP_ROOT . '/application/chart.php';
|
||||
require_once '../app/header.php';
|
||||
require_once APP_ROOT . '/app/chart.php';
|
||||
|
||||
// 检测是否开启统计
|
||||
if (!$config['chart_on']) exit(header('Location: ' . $config['domain'] . '?chart#closed'));
|
||||
@@ -11,7 +11,7 @@ if (!$config['chart_on']) exit(header('Location: ' . $config['domain'] . '?chart
|
||||
// 检测登录
|
||||
if (!is_who_login('admin')) {
|
||||
checkLogin();
|
||||
exit(require_once APP_ROOT . '/application/footer.php');
|
||||
exit(require_once APP_ROOT . '/app/footer.php');
|
||||
}
|
||||
// 删除统计文件
|
||||
if (isset($_POST['del_total'])) {
|
||||
@@ -238,4 +238,4 @@ if (is_array($char_data)) {
|
||||
document.title = "图床统计信息 - <?php echo $config['title']; ?>";
|
||||
</script>
|
||||
|
||||
<?php require_once APP_ROOT . '/application/footer.php';
|
||||
<?php require_once APP_ROOT . '/app/footer.php';
|
||||
|
||||
Reference in New Issue
Block a user