Create a gist now

Instantly share code, notes, and snippets.

<?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