X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fconfigtest.php;h=a2045acb2f9a762bc1ef017f2a3ded51ef392bca;hb=d1d2eafdd109779da1f64dd7c132639c5d399163;hp=bcd2d2de9b0d8e50a39d23dfcbdd3a0621564f2e;hpb=151562a780a0919b32e04d204ba7f33fb215bd84;p=squirrelmail.git diff --git a/src/configtest.php b/src/configtest.php index bcd2d2de..a2045acb 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-2012 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 '