summaryrefslogtreecommitdiff
path: root/account.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-10-04 10:25:08 +0000
committerDries Buytaert <dries@buytaert.net>2000-10-04 10:25:08 +0000
commit9a5e960638f32b977bfeaf2dcc430c7274f71f83 (patch)
tree4377bdb9cf42aa1a20a0abf61d7bce64c8f185d5 /account.php
parente7019c257742aeeac1665682786131fb59733a4b (diff)
downloadbrdo-9a5e960638f32b977bfeaf2dcc430c7274f71f83.tar.gz
brdo-9a5e960638f32b977bfeaf2dcc430c7274f71f83.tar.bz2
* Reorganised a few things and fixed the theme-update bug reported by UCD.
Diffstat (limited to 'account.php')
-rw-r--r--account.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/account.php b/account.php
index 2de4c412a..c6fbd0f27 100644
--- a/account.php
+++ b/account.php
@@ -1,7 +1,5 @@
<?
-include "function.inc";
-include "config.inc";
include "theme.inc";
function account_getUser($uname) {
@@ -87,7 +85,7 @@ function showUser($uname) {
}
}
-function newUser($user = "", $error="") {
+function newUser($user = "", $error = "") {
global $theme;
$output .= "<FORM ACTION=\"account.php\" METHOD=post>\n";
@@ -328,6 +326,8 @@ switch ($op) {
$data[signature] = $edit[signature];
dbsave("users", $data, $user->id);
user_rehash();
+
+ header("account.php");
}
showUser($user->userid);
break;