summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/consumer/common.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/consumer/common.php b/examples/consumer/common.php
index 81ec864..85d5551 100644
--- a/examples/consumer/common.php
+++ b/examples/consumer/common.php
@@ -1,5 +1,10 @@
<?php
+$path_extra = dirname(dirname(dirname(__FILE__)));
+$path = ini_get('include_path');
+$path = $path_extra . ':' . $path;
+ini_set('include_path', $path);
+
/**
* Require the OpenID consumer code.
*/