- Added simple referer module, for sake of fun.
parent
5ff9dd653f
commit
d29684a664
|
@ -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 @@ 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();
|
||||
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue