diff options
Diffstat (limited to 'bin/decrypt.sh')
-rwxr-xr-x | bin/decrypt.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/decrypt.sh b/bin/decrypt.sh index e19da82c3..c1ddd1cf2 100755 --- a/bin/decrypt.sh +++ b/bin/decrypt.sh @@ -52,12 +52,9 @@ * - you are dealing with counterfeit header data. */ -if (php_sapi_name() != 'cli') { - die("Not on the 'shell' (php-cli).\n"); -} - define('INSTALL_PATH', realpath(dirname(__FILE__).'/..') . '/'); -require INSTALL_PATH . 'program/include/iniset.php'; + +require INSTALL_PATH . 'program/include/clisetup.php'; if ($argc < 2) { die("Usage: " . basename($argv[0]) . " encrypted-hdr-part [encrypted-hdr-part ...]\n"); |