#!/usr/bin/php saveConfig('stocklist/number', $value, 'default', 0); # refresh magento configuration cache Mage::app()->getCacheInstance()->cleanType('config'); } else { echo "Usage: " . $_SERVER['argv'][0] . " LIST_ID\n"; } ?> >
Links
http://inchoo.net/ecommerce/magento/how-to-programmatically-change-magentos-core-config-data/
http://makandracards.com/magento/8277-cache-clearing-and-general-information