aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-21 14:18:18 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-21 14:18:18 +0000
commit5648861dcaf718cc4df2afa9fa64af5b476d3b19 (patch)
tree5cf9743fa4b4c9d04021564e1e31f72973854fb4
parent35b6a57d9d1275e1e0fdd31fc8ad478458159488 (diff)
feature 1522: LocalFiles Editor: delete compiled templates after saving file (useful with css)
git-svn-id: http://piwigo.org/svn/trunk@5218 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--plugins/LocalFilesEditor/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/LocalFilesEditor/admin.php b/plugins/LocalFilesEditor/admin.php
index 93959ae95..4f4dca03c 100644
--- a/plugins/LocalFilesEditor/admin.php
+++ b/plugins/LocalFilesEditor/admin.php
@@ -321,6 +321,7 @@ if (isset($_POST['submit']) and !is_adviser())
@fwrite($file , $content_file);
@fclose($file);
array_unshift($page['infos'], l10n('locfiledit_save_config'));
+ $template->delete_compiled_templates();
}
else
{