home_misc.php 582 B

1234567891011121314151617181920212223
  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: home_misc.php 25246 2011-11-02 03:34:53Z zhangguosheng $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. $ac = empty($_GET['ac']) ? '' : $_GET['ac'];
  12. $acs = array('lostpasswd', 'swfupload', 'inputpwd', 'ajax', 'seccode', 'sendmail', 'emailcheck');
  13. if(empty($ac) || !in_array($ac, $acs)) {
  14. showmessage('enter_the_space', 'home.php?mod=space');
  15. }
  16. $theurl = 'home.php?mod=misc&ac='.$ac;
  17. require_once libfile('misc/'.$ac, 'include');
  18. ?>