From d3fee80a71f80867a06162979d9218a32b7d5f34 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 1 Sep 2013 06:40:28 +0000 Subject: [PATCH] Add the password.php to check_auth.php --- resources/check_auth.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index d1f7fce778..00848a21a8 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -24,7 +24,14 @@ Mark J Crane */ require_once "resources/require.php"; -session_start(); + +//for compatability require this library if less than version 5.5 + if (version_compare(phpversion(), '5.5', '<')) { + require_once "resources/functions/password.php"; + } + +//start the session + session_start(); //if the username session is not set the check username and password if (strlen($_SESSION["username"]) == 0) {