diff --git a/common.php b/common.php
index 55e2578..fa82fdc 100644
--- a/common.php
+++ b/common.php
@@ -25,7 +25,7 @@ $EnvConfigs = [
'background' => 0b011,
'backgroundm' => 0b011,
'disableShowThumb' => 0b010,
- 'disableChangeTheme'=> 0b010,
+ //'disableChangeTheme'=> 0b010,
'disktag' => 0b000,
'hideFunctionalityFile'=> 0b010,
'timezone' => 0b010,
@@ -1750,8 +1750,9 @@ function render_list($path = '', $files = [])
-->';
//$authinfo = $path . '
' . json_encode($files, JSON_PRETTY_PRINT) . ''; - if (isset($_COOKIE['theme'])&&$_COOKIE['theme']!='') $theme = $_COOKIE['theme']; - if ( !file_exists(__DIR__ . $slash .'theme' . $slash . $theme) ) $theme = ''; + //if (isset($_COOKIE['theme'])&&$_COOKIE['theme']!='') $theme = $_COOKIE['theme']; + //if ( !file_exists(__DIR__ . $slash .'theme' . $slash . $theme) ) $theme = ''; + if ($_SERVER['admin']) $theme = 'classic.html'; if ( $theme=='' ) { $tmp = getConfig('customTheme'); if ( $tmp!='' ) $theme = $tmp; @@ -2631,7 +2632,7 @@ function render_list($path = '', $files = []) $html = str_replace('', date("Y-m-d H:i:s") . " " . getconstStr('Week')[date("w")] . " " . $_SERVER['REMOTE_ADDR'] . $city . ' Runningtime:' . $exetime . 's Mem:' . size_format(memory_get_usage()), $html); } - if ($_SERVER['admin']||!getConfig('disableChangeTheme')) { + /*if ($_SERVER['admin']||!getConfig('disableChangeTheme')) { $theme_arr = scandir(__DIR__ . $slash . 'theme'); $selecttheme = '