Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-04-03 20:56:58 +0400
committerMarc Delisle <marc@infomarc.info>2012-04-03 20:56:58 +0400
commit8c3a77f3adc166bd4c72098bf4a04820b78f13c6 (patch)
tree6b1d304989ccb9b47b9fa4b7843d8db8da5e817e /examples
parent092eee8d534004dde2dfe023466fc5579cb46ec2 (diff)
Path disclosure fix
Diffstat (limited to 'examples')
-rw-r--r--examples/openid.php4
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.