From a6437b81e68d5b14ded9cd2eaed7f134999ab794 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 13 Mar 2008 01:43:45 +0000 Subject: - changes to template to accomodate nbm (solved issue when we had same template filename with different root dirs) - started some changes in mail templates git-svn-id: http://piwigo.org/svn/trunk@2278 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/maintenance.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'admin/maintenance.php') diff --git a/admin/maintenance.php b/admin/maintenance.php index eb71adda9..1325e4928 100644 --- a/admin/maintenance.php +++ b/admin/maintenance.php @@ -106,8 +106,7 @@ DELETE } case 'compiled-templates' : { - $template->smarty->clear_compiled_tpl(); - file_put_contents($template->smarty->compile_dir.'/index.htm', ''); + $template->delete_compiled_templates(); break; } default : -- cgit v1.2.3