aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view/is_admin_template.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-06-17 20:49:31 +0000
committermistic100 <mistic@piwigo.org>2012-06-17 20:49:31 +0000
commit60a2bbec44439ee4e00edd7aa37fd40b145aba89 (patch)
tree7edd77b9362fca75ce60eeb190550960427e8bf2 /plugins/admin_multi_view/is_admin_template.inc.php
parent614233989aa8eefb354b9ba1b5d97701f279f774 (diff)
none function was working
git-svn-id: http://piwigo.org/svn/trunk@15805 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/admin_multi_view/is_admin_template.inc.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/admin_multi_view/is_admin_template.inc.php b/plugins/admin_multi_view/is_admin_template.inc.php
new file mode 100644
index 000000000..722592d9a
--- /dev/null
+++ b/plugins/admin_multi_view/is_admin_template.inc.php
@@ -0,0 +1,12 @@
+<?php
+if (! defined('MULTIVIEW_CONTROLLER') )
+{
+ if (pwg_get_session_var( 'purge_template', 0 ))
+ {
+ global $template;
+ $template->delete_compiled_templates();
+ FileCombiner::clear_combined_files();
+ pwg_unset_session_var( 'purge_template' );
+ }
+}
+?>