X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fconfigtest.php;h=fb0be4323e3850c0ebcea0eb670b2e4f65e158df;hb=3673a2deb33a13b35bd05b8693da08f1b64fbc42;hp=c23d664bd5dcc992f7f14061e23304e561ab397d;hpb=f134a841ce32f62767a6776e6e2518a3a83a214d;p=squirrelmail.git diff --git a/src/configtest.php b/src/configtest.php index c23d664b..fb0be432 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-2010 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 '