Add the password.php to check_auth.php

This commit is contained in:
Mark Crane 2013-09-01 06:40:28 +00:00
parent 89ba6508dc
commit d3fee80a71
1 changed files with 8 additions and 1 deletions

View File

@ -24,6 +24,13 @@
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
*/ */
require_once "resources/require.php"; require_once "resources/require.php";
//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(); session_start();
//if the username session is not set the check username and password //if the username session is not set the check username and password