summaryrefslogtreecommitdiff
path: root/bin/dumpschema.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dumpschema.sh')
-rwxr-xr-xbin/dumpschema.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/dumpschema.sh b/bin/dumpschema.sh
index 2f323ea1c..da1dffa72 100755
--- a/bin/dumpschema.sh
+++ b/bin/dumpschema.sh
@@ -20,12 +20,9 @@
*/
-if (php_sapi_name() != 'cli') {
- die('Not on the "shell" (php-cli).');
-}
-
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
-require INSTALL_PATH.'program/include/iniset.php';
+
+require INSTALL_PATH.'program/include/clisetup.php';
/** callback function for schema dump **/
function print_schema($dump)