Commit d29684a6 authored by Dries's avatar Dries

- Added simple referer module, for sake of fun.
parent 5ff9dd65
......@@ -40,7 +40,6 @@ function account_create($error = "") {
$output .= "<B>". t("E-mail address") .":</B><BR>\n";
$output .= "<INPUT NAME=\"email\"><BR>\n";
$output .= "<SMALL><I>". t("You will be sent instructions on how to validate your account via this e-mail address: make sure it is accurate.") ."</I></SMALL><P>\n";
$output .= "<INPUT NAME=\"op\" TYPE=\"submit\" VALUE=\"". t("Create account") ."\">\n";
$output .= "</FORM>\n";
......
......@@ -268,6 +268,9 @@ function page_footer() {
include_once "includes/user.inc";
include_once "includes/node.inc";
// initialize configuration variables:
$conf = variable_init();
// initialize user session:
user_init();
......@@ -277,9 +280,6 @@ function page_footer() {
// initialize localization system:
$locale = locale_init();
// initialize configuration variables:
$conf = variable_init();
// initialize theme:
$theme = theme_init();
......
......@@ -279,6 +279,11 @@ ALTER TABLE users ADD role varchar(32) DEFAULT '' NOT NULL;
ALTER TABLE users DROP access;
UPDATE users SET role = 'authenticated user';
#23/06/01
# 23/06/01
ALTER TABLE users CHANGE userid userid VARCHAR(32) DEFAULT '' NOT NULL;
# 24/06/01
CREATE TABLE referer (
url varchar(32) DEFAULT '' NOT NULL,
timestamp int(11) NOT NULL
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment