R32347 - /branches/1.8/phpgwapi/inc/class.groupdav.inc.php

Author: ralfbecker
New Revision: 32347

URL: http://www.egroupware.org/viewvc/egroupware?rev=32347&view=rev
Log:
adding EGroupware version to X-Dav-Powered-By header eg. “EGroupware 1.8.001 CalDAV/CardDAV/GroupDAV server”

Modified:
branches/1.8/phpgwapi/inc/class.groupdav.inc.php

Modified: branches/1.8/phpgwapi/inc/class.groupdav.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/branches/1.8/phpgwapi/inc/class.groupdav.inc.php?rev=32347&r1=32346&r2=32347&view=diff

— branches/1.8/phpgwapi/inc/class.groupdav.inc.php (original)
+++ branches/1.8/phpgwapi/inc/class.groupdav.inc.php Tue Sep 28 10:32:49 2010
@@ -7,7 +7,7 @@

@@ -59,7 +59,7 @@
/**
* Apple iCal namespace (eg. for calendar color)
*/

  • const ICAL = ‘http://apple.com/ns/ical/’;
    /**
    • Realm and powered by string
      */
      @@ -141,6 +141,10 @@
      case ‘neon’:
      $this->cnrnd = true; // neon clients like cadaver
      }
  •   // adding EGroupware version to X-Dav-Powered-By header eg. "EGroupware 1.8.001 CalDAV/CardDAV/GroupDAV server"
    
  •   $this->dav_powered_by = str_replace('EGroupware','EGroupware '.$GLOBALS['egw_info']['server']['versions']['phpgwapi'],
    
  •   	$this->dav_powered_by);
    
  •   parent::HTTP_WebDAV_Server();
    
      $this->egw_charset = translation::charset();
    

Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs