checkpost.php 597 B

12345678910111213141516171819202122232425262728293031
  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: checkpost.php 32489 2013-01-29 03:57:16Z monkey $
  7. */
  8. if(!defined('IN_MOBILE_API')) {
  9. exit('Access Denied');
  10. }
  11. $_GET['mod'] = 'forumdisplay';
  12. include_once 'forum.php';
  13. class mobile_api {
  14. function common() {
  15. $apifile = 'source/plugin/mobile/api/'.$_GET['version'].'/sub_checkpost.php';
  16. if(file_exists($apifile)) {
  17. require_once $apifile;
  18. }
  19. mobile_core::result(mobile_core::variable(mobile_api_sub::getvariable()));
  20. }
  21. function output() {}
  22. }
  23. ?>