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

index.php 698B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021
  1. <?php
  2. /**
  3. * 管理后台首页
  4. *
  5. * @version $id:index.php 11:06 2010年7月13日 tianya $
  6. * @package DedeBIZ.Administrator
  7. * @copyright Copyright (c) 2022 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. include(DEDEADMIN.'/templets/index.htm');
  20. exit();
  21. ?>