模板文件login.html第25行的
模板 改成下面即可
<li class="yzm-login-item">
<input type="text" name="code" value="<?php echo $_SESSION['code']='2222';?>" class="yzm-login-input yzm-verify-input" >
</li>
有空分享另個的進(jìn)度:
1、讓欄目綁定域名,做站群
2、文章頁路徑從 欄目目錄/文章id.html 改成 模型標(biāo)識/文章id.html,為什么要改?防止移動文章欄目,文章網(wǎng)址就變了。減少路由個數(shù)。現(xiàn)在如果有100個欄目就有300個路由(由欄目數(shù)*3改成模型數(shù)*3,網(wǎng)站欄目多能提高不少效率)
'^qitaxinwen$' => 'index/index/lists/catid/3',
'^qitaxinwen\\/list_(\\d+)$' => 'index/index/lists/catid/3/page/$1',
'^qitaxinwen\\/(\\d+)$' => 'index/index/show/catid/3/id/$1',