* @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 7723 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * 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;