summaryrefslogtreecommitdiff
path: root/bin/dumpschema.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-07 13:52:39 +0000
committeralecpl <alec@alec.pl>2008-10-07 13:52:39 +0000
commitda402d66df24e3d0120dc933dcba5a6aa16454ed (patch)
tree6b1cb0c6fde18cf732629d273bf8be457eeb8601 /bin/dumpschema.php
parent27a12edcd97d8ff55a5a31ede2e624a23fc481ac (diff)
#1485456: small improvements in scripts
Diffstat (limited to 'bin/dumpschema.php')
-rw-r--r--bin/dumpschema.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dumpschema.php b/bin/dumpschema.php
index 683e2719e..53c688c3d 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 **/