mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-10 15:16:02 +00:00
Move DAVResource inclusion to REPORT wrapper.
This commit is contained in:
parent
cb8cd84d81
commit
8f87ef4ff9
@ -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
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2 or later
|
||||
*/
|
||||
|
||||
require("DAVResource.php");
|
||||
$responses = array();
|
||||
|
||||
/**
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user