diff options
Diffstat (limited to 'bin/installto.sh')
-rwxr-xr-x | bin/installto.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/installto.sh b/bin/installto.sh index f953419ce..b1e2956a1 100755 --- a/bin/installto.sh +++ b/bin/installto.sh @@ -19,12 +19,9 @@ */ -if (php_sapi_name() != 'cli') { - die('Not on the "shell" (php-cli).'); -} define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); -require_once INSTALL_PATH . 'program/include/iniset.php'; +require_once INSTALL_PATH . 'program/include/clisetup.php'; $target_dir = unslashify($_SERVER['argv'][1]); |