15require_once(
"Services/Init/classes/class.ilInitialisation.php");
 
   29} 
catch(InvalidArgumentException 
$e) {
 
   30    header(
"HTTP/1.1 400 Bad Request");
 
   31    header(
"X-WebDAV-Status: 400 Bad Request", 
true);
 
   32    echo 
'<?xml version="1.0" encoding="utf-8"?> 
   33    <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> 
   34      <s:sabredav-version>3.2.2</s:sabredav-version> 
   35      <s:exception>Sabre\DAV\Exception\BadRequest</s:exception> 
   42    header(
"HTTP/1.1 403 Forbidden");
 
   43    header(
"X-WebDAV-Status: 403 Forbidden", 
true);
 
   44    echo 
'<html><body><h1>Sorry</h1>' .
 
   45      '<p><b>Please enable the WebDAV plugin in the ILIAS Administration panel.</b></p>' .
 
   46      '<p>You can only access this page, if WebDAV is enabled on this server.</p>' .
 
   55        $DIC->http()->request(),
 
   58    $mount_instructions = 
$f->getMountInstructionsObject();
 
   61    $mount_gui->renderMountInstructionsContent();
 
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 ilWebDAVMountInstructionsfactory.
Class ilWebDAVMountInstructionsGUI.