From f511cf2acaa930100b121d70831fc6bd8d8cd699 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 20 Apr 2011 13:10:45 +0000 Subject: - Use clisetup.php where possible, remove redundant code git-svn-id: https://svn.roundcube.net/trunk@4677 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/bin/installto.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'roundcubemail/bin/installto.sh') diff --git a/roundcubemail/bin/installto.sh b/roundcubemail/bin/installto.sh index f953419ce..b1e2956a1 100755 --- a/roundcubemail/bin/installto.sh +++ b/roundcubemail/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]); -- cgit v1.2.3