[GRASS-SVN] r29916 - grass-web/trunk
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 31 15:54:37 EST 2008
Author: neteler
Date: 2008-01-31 15:54:36 -0500 (Thu, 31 Jan 2008)
New Revision: 29916
Modified:
grass-web/trunk/index.php
Log:
avoid PHP warning noise
Modified: grass-web/trunk/index.php
===================================================================
--- grass-web/trunk/index.php 2008-01-31 13:23:35 UTC (rev 29915)
+++ grass-web/trunk/index.php 2008-01-31 20:54:36 UTC (rev 29916)
@@ -35,6 +35,9 @@
<h1>Welcome to GRASS GIS</h1>
<?php
+// avoid PHP warning noise
+error_reporting(1);
+
if (function_exists('curl_init')) {
$ch = curl_init();
$MYIP = $_SERVER['SERVER_ADDR'];
More information about the grass-commit
mailing list