[Mapbender-commits] r2201 - branches/2.5/http/tools
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 6 10:38:16 EST 2008
Author: nimix
Date: 2008-03-06 10:38:16 -0500 (Thu, 06 Mar 2008)
New Revision: 2201
Modified:
branches/2.5/http/tools/mapbender_setup.php
Log:
add LOG_LEVEL notice
Modified: branches/2.5/http/tools/mapbender_setup.php
===================================================================
--- branches/2.5/http/tools/mapbender_setup.php 2008-03-06 15:34:21 UTC (rev 2200)
+++ branches/2.5/http/tools/mapbender_setup.php 2008-03-06 15:38:16 UTC (rev 2201)
@@ -21,6 +21,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+include_once(dirname(__FILE__)."/../php/system.php");
include_once(dirname(__FILE__)."/../../conf/mapbender.conf");
include_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
@@ -265,9 +266,10 @@
if (LOG_LEVEL =='off') $check .="<tr><td>LOG_LEVEL</td><td>X</td><td>switched off: <font color=#FF0000>-no Mapbender-errors logging</font><td></tr>";
elseif (LOG_LEVEL =='error') $check .="<tr><td>LOG_LEVEL</td><td>X</td><td><font color=#00D000>set to 'error': </font><font color=#0000FF>-Mapbender-errors will be logged</font><td></tr>";
elseif (LOG_LEVEL =='warning') $check .="<tr><td>LOG_LEVEL</td><td>X</td><td><font color=#00D000>set to 'warning: </font><font color=#0000FF>- Mapbender-errors and -warnings will be logged</font><td></tr>";
+ elseif (LOG_LEVEL =='notice') $check .="<tr><td>LOG_LEVEL</td><td>X</td><td><font color=#00D000>set to 'notice': </font><font color=#0000FF>-really every little notice will be logged!!</font><td></tr>";
elseif (LOG_LEVEL =='all') $check .="<tr><td>LOG_LEVEL</td><td>X</td><td><font color=#00D000>set to 'all': </font><font color=#0000FF>-really every little notice will be logged!!</font><td></tr>";
else $check .="<tr><td>LOG_LEVEL</td><td></td><td><font color=#FF0000>set to " . LOG_LEVEL . ": this configuration value is not supported (as yet!)</font></td></tr>";
- }
+ }
# PORTAL
if (defined('PORTAL')){
if (PORTAL == true) $check .="<tr><td width=\"25%\">PORTAL</td><td width=\"10\">X</td><td><font color=#00D000>true</font><font color='#0000FF'> (Users can create theirs own accounts)</font></td></tr>";
More information about the Mapbender_commits
mailing list