__init.php 596 B

123456789101112131415161718192021222324252627
  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. if (in_array($action, array('sms', 'sms-sign'))) {
  8. define('FRAME', 'system');
  9. }
  10. if ($action == 'process') {
  11. define('FRAME', '');
  12. } else {
  13. define('FRAME', 'site');
  14. }
  15. if (in_array($action, array('device', 'callback', 'appstore'))) {
  16. $do = $action;
  17. $action = 'redirect';
  18. }
  19. if ($action == 'sms') {
  20. $action = 'profile';
  21. $do = 'sms';
  22. }
  23. if($action == 'touch') {
  24. exit('success');
  25. }