First release to attempt installation on another machine.

This commit is contained in:
Andrew McMillan committed 2006-09-13 11:57:30 +12:00
1 parent d64d2b4000
commit b6ea0453da
13 files changed
+256 -6

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
<?php
require_once("always.php");
require_once("BasicAuthSession.php");
$raw_headers = apache_request_headers();
$raw_post = file_get_contents ( 'php://input');
+20
View File
@@ -0,0 +1,20 @@
<?php
require_once("always.php");
$raw_headers = apache_request_headers();
$raw_post = file_get_contents ( 'php://input');
switch ( $_SERVER['REQUEST_METHOD'] ) {
case 'GET':
include_once("freebusy-GET.php");
break;
default:
dbg_error_log( "freebusy", "Unhandled request method >>%s<<", $_SERVER['REQUEST_METHOD'] );
dbg_log_array( "freebusy", 'HEADERS', $raw_headers );
dbg_log_array( "freebusy", '_SERVER', $_SERVER, true );
dbg_error_log( "freebusy", "RAW: %s", str_replace("\n", "",str_replace("\r", "", $raw_post)) );
}
?>
+18
View File
@@ -0,0 +1,18 @@
<?php
require_once("always.php");
require_once("RSCDSSession.php");
$session->LoginRequired();
?>
<html>
<head>
<meta/>
<title>Really Simple CalDAV Store</title>
</head>
<body>
<h1>These are the admin pages...</h1>
<?php
echo "<p>You appear to be logged on as $session->username ($session->fullname)</p>";
?>
</body>
</html>