国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
987B

  1. <?php
  2. if (!defined('DEDEINC')) exit('dedebiz');
  3. /**
  4. * 栏目小助手
  5. *
  6. * @version $id:channelunit.func.php 2 16:46 2010年7月6日 tianya $
  7. * @package DedeBIZ.Helpers
  8. * @copyright Copyright (c) 2022 DedeBIZ.COM
  9. * @license https://www.dedebiz.com/license
  10. * @link https://www.dedebiz.com
  11. */
  12. if (!isset($cfg_mainsite)) extract($GLOBALS, EXTR_SKIP);
  13. global $PubFields, $pTypeArrays, $idArrary, $envs, $v1, $v2;
  14. $pTypeArrays = $idArrary = $PubFields = $envs = array();
  15. $PubFields['phpurl'] = $cfg_phpurl;
  16. $PubFields['indexurl'] = $cfg_mainsite.$cfg_indexurl;
  17. $PubFields['templeturl'] = $cfg_templeturl;
  18. $PubFields['memberurl'] = $cfg_memberurl;
  19. $PubFields['specurl'] = $cfg_specialurl;
  20. $PubFields['indexname'] = $cfg_indexname;
  21. $PubFields['templetdef'] = $cfg_templets_dir.'/'.$cfg_df_style;
  22. $envs['typeid'] = 0;
  23. $envs['reid'] = 0;
  24. $envs['aid'] = 0;
  25. $envs['keyword'] = '';
  26. $envs['idlist'] = '';
  27. helper('channelunit');
  28. ?>