Last active
December 11, 2015 11:28
-
-
Save kozie/4593355 to your computer and use it in GitHub Desktop.
Simple Magento test (index) file for debugging
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_once 'app/Mage.php'; | |
// Set some debugging flags | |
Varien_Profiler::enable(); | |
Mage::setIsDeveloperMode(true); | |
ini_set('display_errors', 1); | |
// Initialize Magento | |
umask(0); | |
Mage::app(); | |
// Further code here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment