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

26 lines
696B

  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 - 2020, DesDev, Inc.
  8. * @license http://help.dedecms.com/usersguide/license.html
  9. * @link http://www.dedecms.com
  10. */
  11. require_once(dirname(__FILE__).'/../include/common.inc.php');
  12. require_once(DEDEINC.'/userlogin.class.php');
  13. $cuserLogin = new userLogin();
  14. $cuserLogin->exitUser();
  15. if(empty($needclose))
  16. {
  17. header('location:index.php');
  18. }
  19. else
  20. {
  21. $msg = "<script language='javascript'>
  22. if(document.all) window.opener=true;
  23. window.close();
  24. </script>";
  25. echo $msg;
  26. }