人人商城

logout.ctrl.php 406B

123456789101112131415
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. isetcookie('__session', '', -10000);
  8. isetcookie('__switch', '', -10000);
  9. $forward = $_GPC['forward'];
  10. if (empty($forward)) {
  11. $forward = './?refersh';
  12. }
  13. header('Location:' . $_W['siteroot']);