[Mapbender-commits] r2081 - branches/2.5/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Feb 13 03:11:15 EST 2008


Author: verenadiewald
Date: 2008-02-13 03:11:14 -0500 (Wed, 13 Feb 2008)
New Revision: 2081

Modified:
   branches/2.5/http/classes/class_locale.php
Log:
added FreeBSD to list auf operating systems

Modified: branches/2.5/http/classes/class_locale.php
===================================================================
--- branches/2.5/http/classes/class_locale.php	2008-02-11 14:58:49 UTC (rev 2080)
+++ branches/2.5/http/classes/class_locale.php	2008-02-13 08:11:14 UTC (rev 2081)
@@ -1,5 +1,5 @@
 <?php
-# $Id:$
+# $Id$
 # http://www.mapbender.org/index.php/class_locale.php
 # Copyright (C) 2002 CCGIS 
 #
@@ -122,6 +122,8 @@
 	    return 'linux';
 	  else if (strncasecmp(php_uname(), 'OpenBSD', 7) == 0)
 	    return 'bsd';
+	  else if (strncasecmp(php_uname(), 'FreeBSD', 7) == 0)
+	    return 'bsd';  
 	  else {
 	    throw new Mb_exception('unknown platform: could not interpret uname. php_uname() returned '. php_uname().'. Please report to MB developers');
 	    return null;



More information about the Mapbender_commits mailing list