// MERGE with trunk revision 7754

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7759 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-27 12:48:42 +00:00
parent 4ade3a0ea0
commit e159c925d8
182 changed files with 6179 additions and 1333 deletions
+1 -9
View File
@@ -171,15 +171,7 @@ class AdminPreferences extends AdminTab
{
$context = Context::getContext();
$languages = Language::getLanguages(false);
if (!Configuration::get('PS_FORCE_SMARTY_2'))
{
$files = scandir(_PS_THEME_DIR_);
foreach ($files AS $file)
if (!preg_match('/^\..*/', $file))
$context->smarty->clearCache($file);
}
else
$context->smarty->clear_all_cache();
Tools::clearCache($context->smarty);
/* Check required fields */
foreach ($fields AS $field => $values)