Created
February 21, 2019 17:22
-
-
Save missoxd/e6e33388ff489f59602d3907947ebb22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# require magento | |
require_once(__DIR__ . '/app/Mage.php'); | |
# init app | |
Mage::app(); | |
# set store - default: admin | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment