summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2010-10-07 09:44:02 +0200
committerAdrian Lang <mail@adrianlang.de>2010-10-07 09:44:02 +0200
commitd9c8ae6b7379d7b64d4817dbd5cca276b45a9dd5 (patch)
tree39c26d5412170ca4fa176962e60e9962dc643667 /inc/actions.php
parent2c053ed58376c6709596ab48fc40dceb90d4e89d (diff)
parent85dd53ceb1c2d9a7abe01b5ec50d155dcb142c59 (diff)
downloadrpg-d9c8ae6b7379d7b64d4817dbd5cca276b45a9dd5.tar.gz
rpg-d9c8ae6b7379d7b64d4817dbd5cca276b45a9dd5.tar.bz2
Merge branch 'master' into stable
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 3e0cb1207..0a6e6d8c7 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -16,13 +16,10 @@ if(!defined('DOKU_INC')) die('meh.');
* @triggers ACTION_HEADERS_SEND
*/
function act_dispatch(){
- global $INFO;
global $ACT;
global $ID;
global $QUERY;
global $lang;
- global $conf;
- global $license;
$preact = $ACT;
@@ -57,7 +54,6 @@ function act_dispatch(){
$ACT = act_permcheck($ACT);
//register
- $nil = array();
if($ACT == 'register' && $_POST['save'] && register()){
$ACT = 'login';
}
@@ -149,6 +145,10 @@ function act_dispatch(){
act_redirect($ID,$preact);
}
+ global $INFO;
+ global $conf;
+ global $license;
+
//call template FIXME: all needed vars available?
$headers[] = 'Content-Type: text/html; charset=utf-8';
trigger_event('ACTION_HEADERS_SEND',$headers,'act_sendheaders');