diff --git a/inc/template.php b/inc/template.php index 64c87d58395b2b55fd72ec37d06563dd518e381a..4383c7a6b34278eaa44da484fae827f7010e36a6 100644 --- a/inc/template.php +++ b/inc/template.php @@ -109,7 +109,10 @@ function tpl_content(){ tpl_admin(); break; default: - msg("Failed to handle command: ".hsc($ACT),-1); + $evt = new event('ACTION_TEMPLATE',$ACT); + $evt->advise(); + if ($evt->_default) + msg("Failed to handle command: ".hsc($ACT),-1); } }