diff options
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/registration_form/Expanded/index.php | 1 | ||||
| -rw-r--r-- | contrib/registration_form/simple/db.conf.php.dist | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/contrib/registration_form/Expanded/index.php b/contrib/registration_form/Expanded/index.php index c3abef3bea6..e72ff87c148 100644 --- a/contrib/registration_form/Expanded/index.php +++ b/contrib/registration_form/Expanded/index.php @@ -164,6 +164,7 @@ if (!empty($_POST)) { $username = strtoupper($_POST["username"]); $password = strtoupper($_POST["password"]); $email = strtoupper($_POST["email"]); + $expansion = $_POST["expansion"]; if (strlen($username) < 5) { error_s("Username too short."); exit(); diff --git a/contrib/registration_form/simple/db.conf.php.dist b/contrib/registration_form/simple/db.conf.php.dist new file mode 100644 index 00000000000..05d0ee1e7b0 --- /dev/null +++ b/contrib/registration_form/simple/db.conf.php.dist @@ -0,0 +1,18 @@ +<?php + +// Configuration. +// Realm database. +$r_db = "realmd"; +// IP (and port). +$ip = "127.0.0.1:3306"; +// Username. +$user = "trinity"; +// Password. +$pass = "trinity"; +// Site title. +$title = "Registration Form"; +$title2 = "Some Server"; +// End config. + + +?> |
