svn commit: r930 - trunk/mapbender/http/javascripts/mod_legend.php
christoph at osgeo.org
christoph at osgeo.org
Tue Nov 21 11:06:10 EST 2006
Author: christoph
Date: 2006-11-21 16:06:10+0000
New Revision: 930
Modified:
trunk/mapbender/http/javascripts/mod_legend.php
Log:
* include via dirname(__FILE__)
Modified: trunk/mapbender/http/javascripts/mod_legend.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_legend.php?view=diff&rev=930&p1=trunk/mapbender/http/javascripts/mod_legend.php&p2=trunk/mapbender/http/javascripts/mod_legend.php&r1=929&r2=930
==============================================================================
--- trunk/mapbender/http/javascripts/mod_legend.php (original)
+++ trunk/mapbender/http/javascripts/mod_legend.php 2006-11-21 16:06:10+0000
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
session_start();
$con = db_connect($DBSERVER,$OWNER,$PW);
db_select_db(DB,$con);
More information about the Mapbender_commits
mailing list