12 2013 档案

摘要:把phpcms\modules\attachment\attachments.php中将 if(empty($this->userid)){改成 if(empty($_POST['userid'])){因为在提交时$this->userid一定为空,但在调用时用到了$attachment->set_userid($_POST['userid']);而$_POST['userid']即是userid的数据。因此将$this->userid改成$_POST['userid']即可。 阅读全文
posted @ 2013-12-25 11:15 -j神----- 阅读(3076) 评论(0) 推荐(0) 编辑
摘要:1、在 \phpcms\templates\default\formguide\show.html 中添加验证码显示{form::checkcode('code_img', '4', '14', 84, 24)}2、 在 \phpcms\modules\formguide\index.php 中修改具体如下db = pc_base::load_model('sitemodel_model');$this->m_db = pc_base::load_model('sitemodel_field_model'); 阅读全文
posted @ 2013-12-10 17:28 -j神----- 阅读(4064) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示