X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fconfigtest.php;h=5d47e25905843c022844689d0e1b70abc7e6e594;hb=15fa1598794b854786ecb42a0f1b48ef456e002c;hp=b3f0307d82a31d8fa5e0f205643a31bba34da904;hpb=df758744d8856eee5cd0cdc60e73cd440d19985f;p=squirrelmail.git diff --git a/src/configtest.php b/src/configtest.php index b3f0307d..5d47e259 100644 --- a/src/configtest.php +++ b/src/configtest.php @@ -3,9 +3,8 @@ /** * SquirrelMail configtest script * - * Copyright (c) 2003-2004 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * + * @copyright 2003-2016 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail * @subpackage config @@ -16,38 +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 '