摘要:
dedecms的一些技巧:1.判断当前页面是否是首页:{dede:geturl runphp='yes'}$cu = GetCurUrl();if ( $cu == '/' || $cu == '/index.php' ) { @me = 'current';}{/dede:geturl}include/common.inc.php文档默认的命名规则:$art_shortname = $cfg_df_ext = '.html'$cfg_df_namerule = '{typedir}/{Y}{M}{D} 阅读全文