01 2018 档案
ecstore session使用
摘要:kernel::single('base_session')->start() 阅读全文
posted @ 2018-01-26 08:25 limonyun 阅读(156) 评论(0) 推荐(0)
linux 创建ftp服务器
摘要:1、SSH登陆服务器 2、yum安装vsftpd 安装命令:yum install vsftpd 3、修改配置、增加开机启动 修改配置:vi /etc/vsftpd/vsftpd.conf 将anonymous_enable=YES的值设置为NO, 增加开机启动,命令: chkconfig –lev 阅读全文
posted @ 2018-01-23 11:40 limonyun 阅读(263) 评论(0) 推荐(0)
ecstore 根据image_id获取图片路径
摘要:$img_id=app::get('b2c')->getConf('site.loginlogo');//获取配置信息 $loginbg['img_src'] = base_storager::image_path($img_id);//原图 $loginbg['img_src'] = base_s 阅读全文
posted @ 2018-01-19 09:17 limonyun 阅读(184) 评论(0) 推荐(0)
ecstore 添加快速搜索
摘要:在对应的dbschema中的字段添加 'searchtype' => 'has', 'filtertype' => 'yes', 'filterdefault' => true, 如果是关联表则还需要加以下代码: 在model文件夹下面对应的php文件加: 阅读全文
posted @ 2018-01-04 10:47 limonyun 阅读(306) 评论(0) 推荐(0)