aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view/is_admin_template.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/admin_multi_view/is_admin_template.inc.php')
-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' );
+ }
+}
+?>