Browse Source

Update file_manage_main.php

tags/6.2.0
tianya 2 years ago
parent
commit
4bd5db58eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/admin/file_manage_main.php

+ 1
- 1
src/admin/file_manage_main.php View File

@@ -10,7 +10,7 @@
*/
require(dirname(__FILE__)."/config.php");
CheckPurview('plus_文件管理器');
if (!isset($activepath)) $activepath = $cfg_cmspath;
if (!isset($activepath)) $activepath = DEDEBIZ_SAFE_MODE? $cfg_medias_dir : $cfg_cmspath;
$inpath = "";
$activepath = str_replace("..", "", $activepath);
$activepath = preg_replace("#^\/{1,}#", "/", $activepath);


Loading…
Cancel
Save