Index: trunk/install/php/delreserve.php =================================================================== --- trunk/install/php/delreserve.php (リビジョン 1) +++ trunk/install/php/delreserve.php (リビジョン 70) @@ -17,4 +17,19 @@ */ + +include("./foltialib.php"); +$con = m_connect(); + +if ($useenvironmentpolicy == 1){ +if (!isset($_SERVER['PHP_AUTH_USER'])) { + header("WWW-Authenticate: Basic realm=\"foltia\""); + header("HTTP/1.0 401 Unauthorized"); + redirectlogin(); + exit; +} else { +login($con,$_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW']); +} +}//end if login + ?> @@ -29,5 +44,4 @@