diff options
author | alecpl <alec@alec.pl> | 2011-04-20 13:10:45 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-04-20 13:10:45 +0000 |
commit | 6cc3f5887d7af3ad3b505a6f0fa62752314be1fe (patch) | |
tree | 500e047f291f3f40b333adafc36aa9447dd84a01 /bin/update.sh | |
parent | 61517ce39da8d64b37328ee98d2d53a408351dd4 (diff) |
- Use clisetup.php where possible, remove redundant code
Diffstat (limited to 'bin/update.sh')
-rwxr-xr-x | bin/update.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/update.sh b/bin/update.sh index 094e5b72b..9f91c8ecd 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -19,9 +19,6 @@ */ -if (php_sapi_name() != 'cli') { - die('Not on the "shell" (php-cli).'); -} define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); require_once INSTALL_PATH . 'program/include/clisetup.php'; |