I hereby claim:
- I am therouv on github.
- I am therouv (https://keybase.io/therouv) on keybase.
- I have a public key ASDMKCEic1_6D2pc_GTcfxH-9nsblfNhTF9o9PNhZHl-dwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Verifying that +therouv is my blockchain ID. https://onename.com/therouv |
class ConfigExporter extends Mage_Shell_Abstract | |
{ | |
public function run() | |
{ | |
$xml = new Varien_Simplexml_Element('<config />'); | |
foreach ($this->getConfigValues($this->getArg('path')) as $item) { | |
try { | |
$path = $this->_getConfigPath($item['scope'], $item['scope_id'], $item['path']); | |
$xml->setNode($path, $item['value']); | |
} catch (Exception $e) { |
SET FOREIGN_KEY_CHECKS=0; | |
-- Customers | |
TRUNCATE `customer_entity`; | |
TRUNCATE `customer_entity_datetime`; | |
TRUNCATE `customer_entity_decimal`; | |
TRUNCATE `customer_entity_int`; | |
TRUNCATE `customer_entity_text`; | |
TRUNCATE `customer_entity_varchar`; |