[Mapbender-commits] r8076 - in branches/2.7: conf core

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Aug 28 10:30:28 EDT 2011


Author: astrid_emde
Date: 2011-08-28 07:30:28 -0700 (Sun, 28 Aug 2011)
New Revision: 8076

Modified:
   branches/2.7/conf/mapbender.conf-dist
   branches/2.7/core/system.php
Log:
define directory for log files in mapbender.conf and not in system.php

Modified: branches/2.7/conf/mapbender.conf-dist
===================================================================
--- branches/2.7/conf/mapbender.conf-dist	2011-08-26 10:06:56 UTC (rev 8075)
+++ branches/2.7/conf/mapbender.conf-dist	2011-08-28 14:30:28 UTC (rev 8076)
@@ -33,6 +33,11 @@
 define("TMPDIR", "../tmp");
 
 # --------------------------------------------
+# directory for log files
+# --------------------------------------------
+define("LOG_DIR", dirname(__FILE__) . "/../log/");
+
+# --------------------------------------------
 # URL to login
 # --------------------------------------------
 define("LOGIN", "http://localhost/mapbender/frames/login.php");

Modified: branches/2.7/core/system.php
===================================================================
--- branches/2.7/core/system.php	2011-08-26 10:06:56 UTC (rev 8075)
+++ branches/2.7/core/system.php	2011-08-28 14:30:28 UTC (rev 8076)
@@ -205,7 +205,7 @@
 //
 // class for error handling
 //
-DEFINE("LOG_DIR", dirname(__FILE__) . "/../log/");
+if (!defined("LOG_DIR")) define("LOG_DIR", dirname(__FILE__) . "/../log/");
 require_once dirname(__FILE__)."/../http/classes/class_mb_exception.php";
 
 //



More information about the Mapbender_commits mailing list