From 6cc3f5887d7af3ad3b505a6f0fa62752314be1fe Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 20 Apr 2011 09:10:45 -0400
Subject: [PATCH] - Use clisetup.php where possible, remove redundant code

---
 bin/update.sh |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/bin/update.sh b/bin/update.sh
index 094e5b7..9f91c8e 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';

--
Gitblit v1.9.1