X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fconfigtest.php;h=eb6b3223899b8b1e57d50f521f2c99209cff7f63;hp=4cb2f56ded64c5e7958d54ce7935cec94a32cb4e;hb=ef3e6c1f1e141e58944ef9abf9e242351806b2a3;hpb=c3da9f507296b2b5d4dfb90473a6ffe09b336be5 diff --git a/src/configtest.php b/src/configtest.php index 4cb2f56d..eb6b3223 100644 --- a/src/configtest.php +++ b/src/configtest.php @@ -3,7 +3,7 @@ /** * SquirrelMail configtest script * - * @copyright © 2003-2006 The SquirrelMail Project Team + * @copyright © 2003-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -18,39 +18,122 @@ // This script could really use some restructuring as it has grown quite rapidly // but is not very 'clean'. Feel free to get some structure into this thing. -function do_err($str, $exit = TRUE) { - global $IND; - echo '
'.$IND.'ERROR: ' .$str. "
\n"; - if($exit) { - echo '