X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fconfigtest.php;h=fb0be4323e3850c0ebcea0eb670b2e4f65e158df;hb=3673a2deb33a13b35bd05b8693da08f1b64fbc42;hp=bcd2d2de9b0d8e50a39d23dfcbdd3a0621564f2e;hpb=151562a780a0919b32e04d204ba7f33fb215bd84;p=squirrelmail.git diff --git a/src/configtest.php b/src/configtest.php index bcd2d2de..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,43 +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 '