Skip to content

Instantly share code, notes, and snippets.

@philwinkle
Created September 12, 2013 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philwinkle/6536888 to your computer and use it in GitHub Desktop.
Save philwinkle/6536888 to your computer and use it in GitHub Desktop.
<?php
require('app/Mage.php');
Mage::app();
$model = Mage::getModel('catalog/fakeproduct');
var_dump($model);
//=>bool(false)
$helper = Mage::helper('fakemodule');
//=>PHP Fatal error: Class 'Mage_Fakemodule_Helper_Data' not found in /app/Mage.php on line 546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment