summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/logout.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-20 09:45:38 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-20 09:45:38 +0000
commit42e6495ad11c6b6a4265e7ad378ba4dfde0e6df8 (patch)
tree170e5f06fd0c08204297c8a9e3bfde8f57290473 /php/Attic/examples/sample-sp/logout.php
parent7b462495723b08e965d6077fc57604c4617a414a (diff)
downloadlasso-42e6495ad11c6b6a4265e7ad378ba4dfde0e6df8.tar.gz
lasso-42e6495ad11c6b6a4265e7ad378ba4dfde0e6df8.tar.xz
lasso-42e6495ad11c6b6a4265e7ad378ba4dfde0e6df8.zip
new setup system
Diffstat (limited to 'php/Attic/examples/sample-sp/logout.php')
-rw-r--r--php/Attic/examples/sample-sp/logout.php6
1 files changed, 3 insertions, 3 deletions
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);