summaryrefslogtreecommitdiff
path: root/bin/dumpschema.php
diff options
context:
space:
mode:
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 **/