X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fconfigtest.php;h=8356ebebe3da9bc0bbadec8bf6f5e669a768e8d2;hb=caa592dc7d3d53777323707cc5731fb48d3dc1bc;hp=4b6698e6306047e581fa13f4ff2952af6ceaeb7d;hpb=7ed4c52423651c003b46723a32d905086abee447;p=squirrelmail.git diff --git a/src/configtest.php b/src/configtest.php index 4b6698e6..8356ebeb 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-2015 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 '