diff options
author | tailor <cygnus@janrain.com> | 2007-03-14 23:19:05 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-03-14 23:19:05 +0000 |
commit | 2d5c5c377e2f01e0dce5a43124f868e4ae4ccf96 (patch) | |
tree | 7a39b28351925eef307dee3cc242d9c1905c9bf0 /examples | |
parent | 8630bb7bc4c62598e72181c3dc339eabf16b7b62 (diff) | |
download | php-openid-2d5c5c377e2f01e0dce5a43124f868e4ae4ccf96.zip php-openid-2d5c5c377e2f01e0dce5a43124f868e4ae4ccf96.tar.gz php-openid-2d5c5c377e2f01e0dce5a43124f868e4ae4ccf96.tar.bz2 |
[project @ Fix include_path in example server setup.php]
Diffstat (limited to 'examples')
-rw-r--r-- | examples/server/setup.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/server/setup.php b/examples/server/setup.php index fb8aa8a..0e26be6 100644 --- a/examples/server/setup.php +++ b/examples/server/setup.php @@ -12,6 +12,10 @@ * @license http://www.gnu.org/copyleft/lesser.html LGPL */ +$path_extra = dirname(dirname(dirname(__FILE__))); +$path = ini_get('include_path'); +$path = $path_extra . PATH_SEPARATOR . $path; +ini_set('include_path', $path); require_once "Auth/OpenID.php"; /** |