logout.ctrl.php 430 B

1234567891011121314
  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.efwww.com/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. isetcookie('__session', '', -10000);
  8. $forward = $_GPC['forward'];
  9. if (empty($forward)) {
  10. $forward = './?refersh';
  11. }
  12. // var_dump($_GPC['uid']);
  13. header('Location:' . url('user/login') . 'uid=' . $_GPC['uid']);