国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
928B

  1. <?php
  2. /**
  3. * 文件管理器
  4. *
  5. * @version $Id: file_manage_main.php 1 8:48 2010年7月13日Z tianya $
  6. * @package DedeBIZ.Administrator
  7. * @copyright Copyright (c) 2020, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require(dirname(__FILE__) . "/config.php");
  12. CheckPurview('plus_文件管理器');
  13. if (!isset($activepath)) $activepath = $cfg_cmspath;
  14. $inpath = "";
  15. $activepath = str_replace("..", "", $activepath);
  16. $activepath = preg_replace("#^\/{1,}#", "/", $activepath);
  17. if ($activepath == "/") $activepath = "";
  18. if ($activepath == "") $inpath = $cfg_basedir;
  19. else $inpath = $cfg_basedir . $activepath;
  20. $activeurl = $activepath;
  21. if (preg_match("#" . $cfg_templets_dir . "#i", $activepath)) {
  22. $istemplets = TRUE;
  23. } else {
  24. $istemplets = FALSE;
  25. }
  26. include DedeInclude('templets/file_manage_main.htm');