From 8c3a77f3adc166bd4c72098bf4a04820b78f13c6 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 3 Apr 2012 12:56:58 -0400 Subject: [PATCH] Path disclosure fix --- examples/openid.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/openid.php b/examples/openid.php index d57b83c75a..bed2312fba 100644 --- a/examples/openid.php +++ b/examples/openid.php @@ -16,7 +16,9 @@ * @subpackage Example */ -require_once 'OpenID/RelyingParty.php'; +if (false === @include_once 'OpenID/RelyingParty.php') { + exit; +} /** * Map of authenticated users to MySQL user/password pairs.