From da402d66df24e3d0120dc933dcba5a6aa16454ed Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 07 Oct 2008 09:52:39 -0400
Subject: [PATCH] #1485456: small improvements in scripts

---
 bin/dumpschema.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/dumpschema.php b/bin/dumpschema.php
index 683e271..53c688c 100644
--- a/bin/dumpschema.php
+++ b/bin/dumpschema.php
@@ -1,6 +1,6 @@
 <?php
 
-define('INSTALL_PATH', realpath('./../') . '/');
+define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
 require INSTALL_PATH.'program/include/iniset.php';
 
 /** callback function for schema dump **/

--
Gitblit v1.9.1