summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-21 05:23:36 +0100
committerAndrew Dolgov <[email protected]>2005-11-21 05:23:36 +0100
commitc7a03b7a535a0c49ff1c77e8b62171b080742238 (patch)
tree0f38986dfce066618e988c2c8e14cf9aa0e89f92 /functions.php
parent26c5729f9d02272ae16ca165bc320e5a1dc5115b (diff)
fix prefs_init for single user mode
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 16b5dac67..b047221ef 100644
--- a/functions.php
+++ b/functions.php
@@ -685,6 +685,7 @@
} else {
$_SESSION["uid"] = 1;
$_SESSION["name"] = "admin";
+ initialize_user_prefs($link, 1);
}
}
?>