summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/login.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/login.php
parent7b462495723b08e965d6077fc57604c4617a414a (diff)
new setup system
Diffstat (limited to 'php/Attic/examples/sample-sp/login.php')
-rw-r--r--php/Attic/examples/sample-sp/login.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/php/Attic/examples/sample-sp/login.php b/php/Attic/examples/sample-sp/login.php
index 4b70c095..b1594fae 100644
--- a/php/Attic/examples/sample-sp/login.php
+++ b/php/Attic/examples/sample-sp/login.php
@@ -23,11 +23,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
- include "config.php.inc";
+
+ $config = unserialize(file_get_contents('config.inc'));
lasso_init();
- $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);