Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View helper_throws.php
1 2 3 4 5 6 7 8 9 10 11
<?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
Something went wrong with that request. Please try again.