Posted By

slav123 on 08/04/11


Tagged

magentoconfig


Versions (?)

Magento read/save convig variables


 / Published in: PHP
 

  1. // set magento config
  2. Mage::getConfig()->saveConfig('LasooExport', $data);
  3. Mage::getConfig()->reinit();
  4. Mage::app()->reinitStores();
  5.  
  6. // read magento config
  7. $v = Mage::getStoreConfig('LasooExport');

Report this snippet  

You need to login to post a comment.