aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/zregister.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/zregister.php b/mod/zregister.php
index da3bc9f36..6d29cdf59 100644
--- a/mod/zregister.php
+++ b/mod/zregister.php
@@ -1,5 +1,6 @@
<?php
+require_once('include/account.php');
function zregister_init(&$a) {
$a->page['template'] = 'full';
@@ -57,8 +58,6 @@ function zregister_post(&$a) {
break;
}
- require_once('include/account.php');
-
$arr = $_POST;
$arr['account_flags'] = $flags;