From 423e9aaf33366a210a853e67836c6db5d8390680 Mon Sep 17 00:00:00 2001 From: Mark Campbell-Smith Date: Thu, 24 Jul 2014 23:44:46 +1000 Subject: Update to RunnerUpLive --- auth.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'auth.php') diff --git a/auth.php b/auth.php index c3978ef..c278557 100755 --- a/auth.php +++ b/auth.php @@ -2,6 +2,7 @@ /* phpTrackme * * Copyright(C) 2013 Bartek Fabiszewski (www.fabiszewski.net) + * Copyright(C) 2014 Mark Campbell-Smith (campbellsmith.me) * * This is free software; you can redistribute it and/or modify it under * the terms of the GNU Library General Public License as published by @@ -64,7 +65,7 @@ if ($require_authentication) {
'.$lang_title.'
'.$lang_private.'
-
+ '.$lang_username.':

'.$lang_password.':
@@ -104,7 +105,7 @@ if ($require_authentication) { else { $_SESSION['auth'] = $rec_ID; } - $url = str_replace("//", "/", $_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])."/index.php"); + $url = str_replace("//", "/", $_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])."/index1.php"); header("Location: $ssl://$url"); exit; } else { @@ -117,7 +118,7 @@ if ($require_authentication) { } session_destroy(); $mysqli->close(); - $url = str_replace("//", "/", $_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])."/index.php"); + $url = str_replace("//", "/", $_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])."/index1.php"); header("Location: $ssl://$url$error"); exit; } -- cgit v1.2.3