X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fconfigtest.php;h=b2fbb75309347fbd8d02bb0f5e9d011ca0e0feef;hb=eec03d8c44d76e023cc836ee63be3110e3bd082a;hp=c23d664bd5dcc992f7f14061e23304e561ab397d;hpb=f134a841ce32f62767a6776e6e2518a3a83a214d;p=squirrelmail.git diff --git a/src/configtest.php b/src/configtest.php index c23d664b..b2fbb753 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 @@ -15,42 +15,131 @@ * 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 '