Changeset 25791 for extensions/AdminTools/include/MultiView.class.php
- Timestamp:
- Dec 5, 2013, 8:36:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdminTools/include/MultiView.class.php
r25655 r25791 113 113 ); 114 114 115 if ($this->is_admin) 115 // inactive on ws.php to allow AJAX admin tasks 116 if ($this->is_admin && script_basename() != 'ws') 116 117 { 117 118 if ($this->data['view_as'] == 0) … … 201 202 public function init() 202 203 { 203 if (isset($_GET['ato_purge_template'])) 204 { 205 global $template; 206 $template->delete_compiled_templates(); 207 FileCombiner::clear_combined_files(); 204 if ($this->is_admin) 205 { 206 if (isset($_GET['ato_purge_template'])) 207 { 208 global $template; 209 $template->delete_compiled_templates(); 210 FileCombiner::clear_combined_files(); 211 } 208 212 } 209 213 }
Note: See TracChangeset
for help on using the changeset viewer.