summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2010-11-20 13:13:21 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-11-20 13:13:21 +0100
commit4064e2d30906d01e696c5de106fd9ff356980a93 (patch)
tree45ac27dd94a6cce9e63bcc87d9c823928ecc8710 /inc/actions.php
parent812bb04e971a47bee7e0da80d93831f1660efafb (diff)
downloadrpg-4064e2d30906d01e696c5de106fd9ff356980a93.tar.gz
rpg-4064e2d30906d01e696c5de106fd9ff356980a93.tar.bz2
Handle do=check before ACL checking
Diffstat (limited to 'inc/actions.php')
-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']