diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-24 11:38:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-24 11:38:08 +0000 |
commit | d29684a6647c2d171b0f8c228de33658e006fd71 (patch) | |
tree | 51e9d2f9868952ef3d1c9e4c16f78e921c0a494a | |
parent | 5ff9dd653fdae48b87a5c5ee415a66edc5509cb6 (diff) | |
download | brdo-d29684a6647c2d171b0f8c228de33658e006fd71.tar.gz brdo-d29684a6647c2d171b0f8c228de33658e006fd71.tar.bz2 |
- Added simple referer module, for sake of fun.
-rw-r--r-- | account.php | 1 | ||||
-rw-r--r-- | includes/common.inc | 6 | ||||
-rw-r--r-- | updates/2.00-to-x.xx.sql | 7 |
3 files changed, 9 insertions, 5 deletions
diff --git a/account.php b/account.php index 4d3a800cc..ff9bf3dd3 100644 --- a/account.php +++ b/account.php @@ -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"; diff --git a/includes/common.inc b/includes/common.inc index 778f87a39..a89d71576 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -268,6 +268,9 @@ include_once "includes/theme.inc"; 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 @@ module_init(); // initialize localization system: $locale = locale_init(); -// initialize configuration variables: -$conf = variable_init(); - // initialize theme: $theme = theme_init(); diff --git a/updates/2.00-to-x.xx.sql b/updates/2.00-to-x.xx.sql index 0f89f9d18..a6927ba1a 100644 --- a/updates/2.00-to-x.xx.sql +++ b/updates/2.00-to-x.xx.sql @@ -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 +); |