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