git忽略文件夹权限和所属
摘要:git config core.filemode false
阅读全文
posted @
2018-10-24 16:52
limonyun
阅读(116)
推荐(0)
公司ecstore服务器linux安装
摘要:1、chown -R www:www /srv/www/default 2、chmod -R 777 /srv/www/default 3、app/base/cmd update(需关闭config的kvstore)#define('KVSTORE_STORAGE', 'base_kvstore_m
阅读全文
posted @
2018-10-19 10:37
limonyun
阅读(152)
推荐(0)
ecstore 加入定时任务
摘要://1:名称 2 : 类 3:参数 system_queue::instance()->publish('gyoms_tasks_order_logisticsbydate', 'gyoms_tasks_order_logisticsbydate', $params);//加入定时任务
阅读全文
posted @
2018-10-15 19:22
limonyun
阅读(164)
推荐(0)
root用户下,使用git pull文件时候,文件权限强制自动变更
摘要:git中可以加入忽略文件权限的配置,具体如下: $ git config core.filemode false 这样就设置了忽略文件权限。查看下配置: $ cat .git/config
阅读全文
posted @
2018-10-15 15:48
limonyun
阅读(665)
推荐(0)
Linux下安装Memcache以及安装过程中一些问题的解决方法
摘要:一、下载安装libevent cd /tmp #切换到tmp目录 wget http://www.monkey.org/~provos/libevent-1.2.tar.gz #下载 tar zxvf libevent-1.2.tar.gz ...
阅读全文
posted @
2018-10-15 08:12
limonyun
阅读(243)
推荐(0)
ecstore 会员积分解析
摘要:支付冻结积分 sdb_dbeav_meta_value_int 对应 sdb_dbeav_meta_register 的 freezed_point 获取冻结积分 sdb_dbeav_meta_value_int 对应 sdb_dbeav_meta_register 的 obtained_point
阅读全文
posted @
2018-10-13 16:30
limonyun
阅读(149)
推荐(0)
ecstore前台模板变量处理
摘要://截取//时间戳转日期//根据image_id获取图片//小图//大图//中图 //原图//数组拆分为字符串//array('a','b')====a,b//打印//金额//(四舍五入,保留2位)¥12.78 //直接显示html//默认值//地区//替换//w换成a//数字取整//去除商品名称的标签//插入换行符//数组长度//左边移动n个字符,并用-代替//以下为未验证的//商品规格PS...
阅读全文
posted @
2018-10-11 14:59
limonyun
阅读(529)
推荐(0)
ecstore 写入日志文件
摘要:error_log("tuikuan_sdf>>>>>>".var_export($sdf,1),3,DATA_DIR.'/callback.txt');
阅读全文
posted @
2018-10-09 08:57
limonyun
阅读(114)
推荐(0)