summaryrefslogtreecommitdiffstats
path: root/examples/server
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-02-09 16:46:45 +0000
committerJosh Hoyt <josh@janrain.com>2006-02-09 16:46:45 +0000
commit5ded1b88dcee0eeda71f08734386e8e999b62692 (patch)
tree8b39d0458fadeaf607873ed2f3d4851e68a9f078 /examples/server
parent98e0e1fccfae85ee9ceea27499c2c0b9eb0c0d3c (diff)
downloadphp-openid-5ded1b88dcee0eeda71f08734386e8e999b62692.zip
php-openid-5ded1b88dcee0eeda71f08734386e8e999b62692.tar.gz
php-openid-5ded1b88dcee0eeda71f08734386e8e999b62692.tar.bz2
[project @ Whitespace]
Diffstat (limited to 'examples/server')
-rw-r--r--examples/server/lib/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/server/lib/session.php b/examples/server/lib/session.php
index 2c7d18f..b7544bb 100644
--- a/examples/server/lib/session.php
+++ b/examples/server/lib/session.php
@@ -100,6 +100,7 @@ function isTrusted($identity_url, $trust_root)
if (in_array($trust_root, $trusted_sites)) {
return true;
}
+
$sites = getSessionSites();
return isset($sites[$trust_root]) && $sites[$trust_root];
}