X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fconfigtest.php;h=2d45eb4640b5a54c637e5ef68b611315a9bc9653;hp=af653b4864e946eed4bd065b7110ad1097a4cbd0;hb=eceb3fe56e7ef548f83797639e9d6d993254695b;hpb=47ccfad452e8d345542d09e59112cac317cffed8 diff --git a/src/configtest.php b/src/configtest.php index af653b48..2d45eb46 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-2009 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -15,42 +15,141 @@ * If it throws errors you need to adjust your config. * ************************************************************/ +/** This is the configtest page */ +define('PAGE_NAME', 'configtest'); + // 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 '