summaryrefslogtreecommitdiffstats
path: root/examples/server/lib/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/lib/common.php')
-rw-r--r--examples/server/lib/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/lib/common.php b/examples/server/lib/common.php
index 74e16ab..68ab0d9 100644
--- a/examples/server/lib/common.php
+++ b/examples/server/lib/common.php
@@ -64,7 +64,7 @@ function doAuth($info, $trusted=null, $fail_cancels=false)
}
$trust_root = $info->getTrustRoot();
- $trusted = isset($trusted) ? $trusted : isTrusted($trust_root);
+ $trusted = isset($trusted) ? $trusted : isTrusted($req_url, $trust_root);
if ($trusted) {
setRequestInfo();
$server = getServer();