public
Created

  • Download Gist
helper_throws.php
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.