From: <cl...@us...> - 2003-12-18 05:46:59
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv2671/functions Modified Files: calendar_functions.php Log Message: Fixed a bug where HTTP was being used, even if turned off in config. Index: calendar_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/calendar_functions.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** calendar_functions.php 24 Nov 2003 04:05:37 -0000 1.2 --- calendar_functions.php 18 Dec 2003 05:46:56 -0000 1.3 *************** *** 22,26 **** // Grab any HTTP authentication. unset($http_user); ! if (isset($_SERVER['PHP_AUTH_USER'])) { $http_user = $_SERVER['PHP_AUTH_USER']; } --- 22,26 ---- // Grab any HTTP authentication. unset($http_user); ! if ((isset($_SERVER['PHP_AUTH_USER'])) && ($allow_login == 'yes')) { $http_user = $_SERVER['PHP_AUTH_USER']; } |