- 博客(8)
- 资源 (1)
- 收藏
- 关注
翻译 magento the user is locked
UPDATE admin_user SET failures_num = 0, first_failure = NULL, lock_expires = NULL WHERE user_id = 1
2015-08-19 11:22:17 442
原创 iptables 如何只开放80 和 22端口
# Generated by iptables-save v1.4.7 on Tue Aug 18 11:44:46 2015 *filter :INPUT ACCEPT [17053:17940802] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [16568:30862755] -A INPUT -m state --state ESTABLISHED,
2015-08-19 10:22:40 3802
原创 linux log 按照时间按照每天来生成LOG
ErrorLog "|/alidata/server/httpd-2.2.29/bin/rotatelogs /alidata/log/XXXX_error.log%Y_%m_%d.log 86400 480" CustomLog "|/alidata/server/httpd-2.2.29/bin/rotatelogs /alidata/log/XXXX_access.log%Y_%m
2015-08-18 18:40:59 2063
转载 How to override Magento model classes?
http://inchoo.net/magento/how_to_override_magento_model_classes/ How to override Magento model classes? Aug 12, 2009Tomas NovoselicMagento, MVC 30 Comments Many times we need to implemen
2015-08-14 10:53:43 398
转载 Getting Configurable Product from Simple Product ID
http://www.danneh.org/2011/09/configurable-product-simple-product-id-magento-1-5/ $simpleProductId = 465; $parentIds = Mage::getResourceSingleton('catalog/product_type_configurable')
2015-08-07 14:43:39 365
转载 Delete Product from Cart Programmatically in Magento
http://pradeepsanku.com/tag/delete-product-from-cart-in-magento-programmatically/ $id = '100'; // replace product id with your id $cartHelper = Mage::helper('checkout/cart'); $items = $cartHe
2015-08-07 13:51:58 317
翻译 get category id from product
2 3 4 5 6 7 8 9 10 11 12 13 14 /** * get categories from a product */ $categoryIds = $product->getCategoryIds(); /** * looping through
2015-08-07 10:39:44 404
原创 GIT 代码自动部署
hooks 下面 post-receive chmod a+x post-receive vim post-receive 16 unset GIT_DIR 17 WwwPath=/var/www/html/weixinevent1 18 cd $WwwPath 19 git pull origin master 20 rsync -az --progress
2015-08-03 15:54:07 257
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人