* @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 1.4 $ * * International Registered Trademark & Property of PrestaShop SA */ /** * Backward function compatibility * Need to be called for each module in 1.4 */ // Get out if the context is already defined if (!in_array('Context', get_declared_classes())) require_once(dirname(__FILE__).'/Context.php'); if (!isset($this) || isset($this->context)) return; $this->context = Context::getContext(); $this->smarty = $this->context->smarty;