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

27 lines
736B

  1. <?php
  2. /**
  3. * 退出
  4. *
  5. * @version $Id: exit.php 1 19:09 2010年7月12日Z tianya $
  6. * @package DedeCMS.Administrator
  7. * @copyright Copyright (c) 2007 - 2018, DesDev, Inc.
  8. * @copyright Copyright (c) 2020, DedeBIZ.COM
  9. * @license https://www.dedebiz.com/license/v6
  10. * @link https://www.dedebiz.com
  11. */
  12. require_once(dirname(__FILE__).'/../include/common.inc.php');
  13. require_once(DEDEINC.'/userlogin.class.php');
  14. $cuserLogin = new userLogin();
  15. $cuserLogin->exitUser();
  16. if(empty($needclose))
  17. {
  18. header('location:index.php');
  19. }
  20. else
  21. {
  22. $msg = "<script language='javascript'>
  23. if(document.all) window.opener=true;
  24. window.close();
  25. </script>";
  26. echo $msg;
  27. }