wsqsiteinfo.php 629 B

1234567891011121314151617181920212223242526272829303132
  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: wsqsiteinfo.php 34422 2014-04-23 09:56:17Z nemohou $
  7. */
  8. if (!defined('IN_MOBILE_API')) {
  9. exit('Access Denied');
  10. }
  11. include_once 'misc.php';
  12. class mobile_api {
  13. function common() {
  14. global $_G;
  15. if (!in_array('wechat', $_G['setting']['plugins']['available'])) {
  16. mobile_core::result(mobile_core::variable(array()));
  17. }
  18. require_once DISCUZ_ROOT . './source/plugin/wechat/wsq.class.php';
  19. mobile_core::result(mobile_core::variable(wsq::siteinfo()));
  20. }
  21. function output() {
  22. }
  23. }
  24. ?>