From 4aa73784bb651763c1e324ff74f7e8bf6a2657cf Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 19 Nov 2007 06:58:04 +0000 Subject: [PATCH] - Fix a typo and make the location of user_login not relative. --- user_password.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user_password.php b/user_password.php index 20ad791c..989e073b 100644 --- a/user_password.php +++ b/user_password.php @@ -31,18 +31,18 @@ if(isset($_SESSION['users_type'])) { $type = $_SESSION['users_type']; } else { - header("location: index.php?notice=auth_requird"); + header("location: {$config['SFIABDIRECTORY']}/index.php?notice=auth_required"); exit; } /* Make sure the user is logged in, but don't check passwd expiry */ if(!isset($_SESSION['users_type'])) { - header("location: user_login.php?type=$type¬ice=auth_required"); + header("location: {$config['SFIABDIRECTORY']}/user_login.php?type=$type¬ice=auth_required"); exit; } if($_SESSION['users_type'] != $type) { - header("location: user_login.php?type=$type¬ice=auth_required"); + header("location: {$config['SFIABDIRECTORY']}/user_login.php?type=$type¬ice=auth_required"); exit; }