mod_index.php 450 B

123456789101112131415161718192021222324
  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: mod_index.php 30462 2012-05-30 03:27:10Z zhangguosheng $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. class mod_index extends remote_service {
  12. var $config;
  13. function mod_index() {
  14. parent::remote_service();
  15. }
  16. function run() {
  17. $this->success('Discuz! Remote Service API '.$this->version);
  18. }
  19. }