aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-13 01:43:45 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-13 01:43:45 +0000
commita6437b81e68d5b14ded9cd2eaed7f134999ab794 (patch)
tree19b4cb1e5bb320887641edb8d24bd56e369d37f4 /admin
parent6f84eaf7cb10b0db6e82a3c85d998e60a3654c9a (diff)
- 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
Diffstat (limited to '')
-rw-r--r--admin/maintenance.php3
1 files changed, 1 insertions, 2 deletions
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 :