[*] MO: remove all static call of Module::display() method. Use it as a method on a Module instance.
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10695 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -32,6 +32,8 @@ include(dirname(__FILE__).'/../../header.php');
|
||||
|
||||
$smarty->assign('iso_code', Tools::strtolower(Context::getContext()->language->iso_code));
|
||||
|
||||
echo Module::displayTemplate(dirname(__FILE__).'/paypal', 'about.tpl');
|
||||
require_once _PS_MODULE_DIR_.'paypal/paypal.php';
|
||||
$paypal = new PayPal();
|
||||
echo $paypal->display(dirname(__FILE__).'/paypal', 'about.tpl');
|
||||
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
Reference in New Issue
Block a user