summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/login.php
diff options
context:
space:
mode:
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);