From 42e6495ad11c6b6a4265e7ad378ba4dfde0e6df8 Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Fri, 20 Aug 2004 09:45:38 +0000 Subject: new setup system --- php/Attic/examples/sample-sp/logout.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'php/Attic/examples/sample-sp/logout.php') diff --git a/php/Attic/examples/sample-sp/logout.php b/php/Attic/examples/sample-sp/logout.php index e55b6ba1..7662bbc6 100644 --- a/php/Attic/examples/sample-sp/logout.php +++ b/php/Attic/examples/sample-sp/logout.php @@ -22,7 +22,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - include "config.php.inc"; + $config = unserialize(file_get_contents('config.inc')); require_once 'DB.php'; @@ -38,12 +38,12 @@ lasso_init(); - $db = &DB::connect($dsn); + $db = &DB::connect($config['dsn']); if (DB::isError($db)) die($db->getMessage()); - $server_dump = file_get_contents($server_dump_filename); + $server_dump = file_get_contents($config['server_dump_filename']); $server = lasso_server_new_from_dump($server_dump); -- cgit