From 5db72ac505e7e1948e48afdcd42e2e1eb4c01628 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 16 May 2007 23:04:41 +0000 Subject: modify README --- calendars/publish.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendars') diff --git a/calendars/publish.php b/calendars/publish.php index be0a19c..7f6c230 100644 --- a/calendars/publish.php +++ b/calendars/publish.php @@ -101,7 +101,7 @@ if(defined('PHPICALENDAR_LOG_PUBLISHING') && PHPICALENDAR_LOG_PUBLISHING == 1) { if (!isset($_SERVER['REMOTE_USER'])) { // Require authentication - if (!isset($_SERVER['HTTP_AUTHORIZATION'])) { + if (isset($_SERVER['HTTP_AUTHORIZATION'])) { list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode( ':', base64_decode( substr($_SERVER['HTTP_AUTHORIZATION'], 6) ) ); } -- cgit v1.2.3