Skip to content

Instantly share code, notes, and snippets.

Jeff Williams weblance2

Block or report user

Report or block weblance2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f6e5efbe45beb275366c
<?php
try {
error_reporting(E_ALL);
ini_set('display_errors', '1');
// Load Up Magento Core
define('MAGENTO', realpath('/path/to/magento'));
require_once(MAGENTO . 'app/Mage.php');
View gist:553d39c2fd6ecdd7653b
<?
error_reporting(E_ALL);
ini_set('display_errors', '1');
// Load Up Magento Core
define('MAGENTO', realpath('/path/to/magento'));
require_once(MAGENTO . '/app/Mage.php');
$app = Mage::app();
You can’t perform that action at this time.