www.gusucode.com > DEDECMS精简版 织梦CMS系统企业精简版 v3.0.1.2源码程序 > cloudcms_v3.0.1.2/cloud/exit.php
<?php require_once(dirname(__FILE__).'/../include/common.inc.php'); require_once(DEDEINC.'/userlogin.class.php'); $cuserLogin = new userLogin(); $cuserLogin->exitUser(); if(empty($needclose)) { header('location:index.php'); } else { $msg = "<script language='javascript'> if(document.all) window.opener=true; window.close(); </script>"; echo $msg; }