You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
- 更新排版
This commit is contained in:
10
i/manag.php
10
i/manag.php
@@ -10,6 +10,15 @@ session_start();
|
||||
require_once __DIR__ . '/../application/function.php';
|
||||
require_once APP_ROOT . '/config/config.php';
|
||||
|
||||
// 开启tinyfilemanager文件管理
|
||||
if (!$config['tinyfilemanager']) {
|
||||
require_once APP_ROOT . '/application/header.php';
|
||||
echo '<h4 class="alert alert-danger">文件管理已关闭~~</h4>';
|
||||
header("refresh:3;url=" . $config['domain'] . '?manag-closed');
|
||||
require_once APP_ROOT . '/application/footer.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
// 根路径
|
||||
RexHelper::$root = APP_ROOT . $config['path'];
|
||||
|
||||
@@ -18,7 +27,6 @@ RexHelper::$users = array(
|
||||
$config['user'] => array('password' => $config['password']),
|
||||
);
|
||||
|
||||
|
||||
/**结束 - 自定义修改 */
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user