summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/actions.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 9db7d5f24..7a6d2eb85 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -50,6 +50,12 @@ function act_dispatch(){
}
}
+ //display some infos
+ if($ACT == 'check'){
+ check();
+ $ACT = 'show';
+ }
+
//check permissions
$ACT = act_permcheck($ACT);
@@ -120,12 +126,6 @@ function act_dispatch(){
if(substr($ACT,0,7) == 'export_')
$ACT = act_export($ACT);
- //display some infos
- if($ACT == 'check'){
- check();
- $ACT = 'show';
- }
-
//handle admin tasks
if($ACT == 'admin'){
// retrieve admin plugin name from $_REQUEST['page']