openrat-webdav

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

HEAD.class.php (242B)


      1 <?php
      2 
      3 class DAV_HEAD extends DAV
      4 {
      5 
      6 	/**
      7 	 * WebDav-HEAD-Methode.
      8 	 */	
      9 	public function execute()
     10 	{
     11 		if	( ! $this->request->exists() )
     12 		{
     13 			$this->httpStatus( '404 Not Found' );
     14 		}
     15 		else
     16 		{
     17 			$this->httpStatus( '200 OK' );
     18 		}
     19 	}
     20 }