X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fcleandb.sh;h=a1b38d05526ab19c502765a917bb960b51060407;hb=48e244a464574aa732ef5ab3fe759f1e05665b3d;hp=4d699cc6e1237833510cdaecd10a814a77f0aca1;hpb=e4e7e688fab1ecd11476957e33ed709ac6326538;p=roundcube.git diff --git a/bin/cleandb.sh b/bin/cleandb.sh index 4d699cc..a1b38d0 100755 --- a/bin/cleandb.sh +++ b/bin/cleandb.sh @@ -6,7 +6,7 @@ | bin/cleandb.sh | | | | This file is part of the Roundcube Webmail client | - | Copyright (C) 2010, Roundcube Dev. - Switzerland | + | Copyright (C) 2010, The Roundcube Dev Team | | Licensed under the GNU GPL | | | | PURPOSE: | @@ -16,16 +16,13 @@ | Author: Thomas Bruederli | +-----------------------------------------------------------------------+ - $Id: cleandb.sh 4164 2010-10-31 10:38:16Z thomasb $ + $Id: cleandb.sh 4677 2011-04-20 13:10:45Z alec $ */ -if (php_sapi_name() != 'cli') { - die('Not on the "shell" (php-cli).'); -} - define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); -require INSTALL_PATH.'program/include/iniset.php'; + +require INSTALL_PATH.'program/include/clisetup.php'; // mapping for table name => primary key $primary_keys = array(