We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5321972f authored by jurgbohn's avatar jurgbohn

$base_url, how i loathe thee.

parent 1da209cb
......@@ -21,10 +21,11 @@
require_once('auth.php');
require_once('database.php');
require_once('templating.php');
require_once('config.php');
function sendEmail($email) {
global $mdb2;
global $base_url;
$code = md5(md5($username) . time());
$mdb2->query('INSERT INTO Invitations (inviter, code) VALUES (' . $mdb2->quote($username, 'text') . ', ' . $mdb2->quote($code, 'text') . ')');
......
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