国内流行的内容管理系统(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
988B

  1. <?php
  2. /**
  3. * 管理后台首页
  4. *
  5. * @version $Id: index.php 1 11:06 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. if (preg_match("#PHP (.*) Development Server#", $_SERVER['SERVER_SOFTWARE'])) {
  12. if ($_SERVER['REQUEST_URI'] == dirname($_SERVER['SCRIPT_NAME'])) {
  13. header('HTTP/1.1 301 Moved Permanently');
  14. header('Location:' . $_SERVER['REQUEST_URI'] . '/');
  15. }
  16. }
  17. require_once(dirname(__FILE__) . "/config.php");
  18. require_once(DEDEINC . '/dedetag.class.php');
  19. $defaultIcoFile = DEDEDATA . '/admin/quickmenu.txt';
  20. $myIcoFile = DEDEDATA . '/admin/quickmenu-' . $cuserLogin->getUserID() . '.txt';
  21. if (!file_exists($myIcoFile)) $myIcoFile = $defaultIcoFile;
  22. require(DEDEADMIN . '/inc/inc_menu_map.php');
  23. include(DEDEADMIN . '/templets/index2.htm');
  24. exit();