15require_once(
"Services/Init/classes/class.ilInitialisation.php");
28}
catch(InvalidArgumentException $e) {
29 header(
"HTTP/1.1 400 Bad Request");
30 header(
"X-WebDAV-Status: 400 Bad Request",
true);
31 echo
'<?xml version="1.0" encoding="utf-8"?>
32 <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
33 <s:sabredav-version>3.2.2</s:sabredav-version>
34 <s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
41 header(
"HTTP/1.1 403 Forbidden");
42 header(
"X-WebDAV-Status: 403 Forbidden",
true);
43 echo
'<html><body><h1>Sorry</h1>' .
44 '<p><b>Please enable the WebDAV plugin in the ILIAS Administration panel.</b></p>' .
45 '<p>You can only access this page, if WebDAV is enabled on this server.</p>' .
57 $mount_gui->showMountInstructionPage();
An exception for terminatinating execution or to throw for unit testing.
static setContext($a_context)
set context
static init($a_type)
Init context by type.
static _isActive()
Static getter.
static initILIAS()
ilias initialisation
Class ilWebDAVMountInstructionsGUI.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']