From c7223f1a2916b5b686aa08b525fae918d799ebb4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 22 Jun 2004 16:01:49 +0000 Subject: [PATCH] documentation update --- lam/tests/conf-main-test.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lam/tests/conf-main-test.php b/lam/tests/conf-main-test.php index 152886b5..856f4b06 100644 --- a/lam/tests/conf-main-test.php +++ b/lam/tests/conf-main-test.php @@ -19,11 +19,19 @@ $Id$ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - This test reads all preferences from lam.conf. Then it writes new values and verifies - if they were written. At last the old values are restored. */ +/** +* This test reads all preferences from config.cfg. Then it writes new values and verifies +* if they were written. At last the old values are restored. +* +* @author Roland Gruber +* @package tests +*/ + +/** configuration interface */ include ("../lib/config.inc"); + $conf = new CfgMain(); echo ""; echo (" Current Values

"); @@ -41,7 +49,7 @@ $conf->password = "123456"; $conf->default = "lam"; $conf->save(); echo ("done
"); -// at last all preferences are read from lam.conf and compared +// at last all preferences are read from config.cfg and compared echo ("Loading and comparing..."); $conf = new CfgMain(); if ($conf->password != "123456") echo ("
Saving password failed!
");