Skip to content

Instantly share code, notes, and snippets.

@markshust
Created February 24, 2012 20:43
Show Gist options
  • Save markshust/1903625 to your computer and use it in GitHub Desktop.
Save markshust/1903625 to your computer and use it in GitHub Desktop.
Magento: Better way to require files in controllers
require_once Mage::getModuleDir('controllers', 'Mage_Checkout') . DS . 'OnepageController.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment