group.php 790 B

12345678910111213141516171819202122232425262728293031323334
  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: group.php 31307 2012-08-10 02:10:56Z zhengqingpeng $
  7. */
  8. define('APPTYPEID', 3);
  9. define('CURSCRIPT', 'group');
  10. require './source/class/class_core.php';
  11. $discuz = C::app();
  12. $cachelist = array('grouptype', 'groupindex', 'diytemplatenamegroup');
  13. $discuz->cachelist = $cachelist;
  14. $discuz->init();
  15. $_G['disabledwidthauto'] = 0;
  16. $modarray = array('index', 'my', 'attentiongroup');
  17. $mod = !in_array($_G['mod'], $modarray) ? 'index' : $_G['mod'];
  18. define('CURMODULE', $mod);
  19. runhooks();
  20. $navtitle = str_replace('{bbname}', $_G['setting']['bbname'], $_G['setting']['seotitle']['group']);
  21. require DISCUZ_ROOT.'./source/module/group/group_'.$mod.'.php';
  22. ?>