X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fconfigtest.php;h=05858f76c8e9a7fc7ab6d26ed674ac3194d06cf0;hp=4028f56612970a58cdc2abe1cbcbf6b250f05546;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=4753eae2bb6d247d452f75e7c42e6fb592f0252c diff --git a/src/configtest.php b/src/configtest.php index 4028f566..05858f76 100644 --- a/src/configtest.php +++ b/src/configtest.php @@ -3,7 +3,7 @@ /** * SquirrelMail configtest script * - * @copyright © 2003-2005 The SquirrelMail Project Team + * @copyright 2003-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -15,42 +15,144 @@ * 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 '