Move DAVResource inclusion to REPORT wrapper.

This commit is contained in:
Andrew McMillan 2009-12-28 00:25:31 +13:00
parent cb8cd84d81
commit 8f87ef4ff9
3 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,5 @@
<?php
require_once('DAVResource.php');
/**
* Given a <response><href>...</href><propstat><prop><someprop/></prop><status>HTTP/1.1 200 OK</status></propstat>...</response>
* pull out the content of <someprop>content</someprop> and check to see if it has any href elements. If it *does* then

View File

@ -9,7 +9,6 @@
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2 or later
*/
require("DAVResource.php");
$responses = array();
/**

View File

@ -11,6 +11,7 @@
dbg_error_log("REPORT", "method handler");
require_once("XMLDocument.php");
require_once('DAVResource.php');
if ( ! ini_get('open_basedir') && (isset($c->dbg['ALL']) || (isset($c->dbg['report']) && $c->dbg['report'])) ) {
$fh = fopen('/tmp/REPORT.txt','w');