[-] CORE : Remove notices on ob clean

This commit is contained in:
gRoussac
2013-11-28 11:11:49 +01:00
parent ddf00b3e98
commit 8370c18fe8
11 changed files with 22 additions and 13 deletions
@@ -40,4 +40,5 @@ require_once(_PS_ROOT_DIR_.'/config/smarty.config.inc.php');
$smarty->setTemplateDir($directory);
ob_start();
$smarty->compileAllTemplates('.tpl', false);
ob_end_clean();
if (ob_get_level() && ob_get_length() > 0)
ob_end_clean();