Skip to content
Browse files

Path disclosure fix

  • Loading branch information...
1 parent 092eee8 commit 8c3a77f3adc166bd4c72098bf4a04820b78f13c6 @lem9 lem9 committed Apr 3, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 examples/openid.php
View
4 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.

0 comments on commit 8c3a77f

Please sign in to comment.
Something went wrong with that request. Please try again.