mobile_extends.php 736 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: mobile_extends.php 31700 2012-09-24 03:46:59Z zhangjie $
  7. */
  8. if(!defined('IN_MOBILE_API')) {
  9. exit('Access Denied');
  10. }
  11. $_GET['identifier'] = !empty($_GET['identifier']) ? $_GET['identifier'] : '' ;
  12. $_GET['check'] = !empty($_GET['check']) ? $_GET['check'] : '' ;
  13. require_once './source/class/class_core.php';
  14. if(empty($_GET['identifier']) && !empty($_GET['check'])) {
  15. require_once 'extends/mobile_extends_check.php';
  16. } else {
  17. require_once 'extends/mobile_extends_list.php';
  18. }
  19. C::app()->init();
  20. define('HOOKTYPE', 'hookscript');
  21. hookscript('common', 'global');
  22. hookscript('global', 'global');
  23. ?>