diff options
author | Marc Delisle <marc@infomarc.info> | 2012-04-03 20:56:58 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-04-03 20:56:58 +0400 |
commit | 8c3a77f3adc166bd4c72098bf4a04820b78f13c6 (patch) | |
tree | 6b1d304989ccb9b47b9fa4b7843d8db8da5e817e /examples | |
parent | 092eee8d534004dde2dfe023466fc5579cb46ec2 (diff) |
Path disclosure fix
Diffstat (limited to 'examples')
-rw-r--r-- | examples/openid.php | 4 |
1 files changed, 3 insertions, 1 deletions
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. |