openrat-webdav

git clone http://git.code.weiherhei.de/openrat-webdav.git
Log | Files | Refs | README

LOCK.class.php (347B)


      1 <?php
      2 
      3 class DAV_LOCK extends DAV
      4 {
      5 	/**
      6 	 * Die Methode LOCK sollte garnicht aufgerufen werden, da wir nur
      7 	 * Dav-Level 1 implementieren und dies dem Client auch mitteilen.<br>
      8 	 * <br>
      9 	 * Ausgabe von HTTP-Status 412 (Precondition failed)
     10 	 */	
     11 	function execute()
     12 	{
     13 		$this->httpStatus('412 Precondition failed');
     14 		$this->davOPTIONS();
     15 	}
     16 }