国内流行的内容管理系统(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.

30 lines
1.0KB

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