summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-01-18 21:38:15 +0000
committertailor <cygnus@janrain.com>2006-01-18 21:38:15 +0000
commit5a390e4a940c2bf3e5aaabd32c6fe4893a2c4626 (patch)
treee634c3dca044fc5e61b789cd3553429999fde290 /examples
parentbbd89e668f542ab206eb62225a7af0f747e8f679 (diff)
downloadphp-openid-5a390e4a940c2bf3e5aaabd32c6fe4893a2c4626.zip
php-openid-5a390e4a940c2bf3e5aaabd32c6fe4893a2c4626.tar.gz
php-openid-5a390e4a940c2bf3e5aaabd32c6fe4893a2c4626.tar.bz2
[project @ Moved ensureDir function to OIDUtil and updated example script]
Diffstat (limited to 'examples')
-rw-r--r--examples/consumer.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/consumer.php b/examples/consumer.php
index 7f7c6be..0915730 100644
--- a/examples/consumer.php
+++ b/examples/consumer.php
@@ -69,11 +69,12 @@ if ($store_type = 'pgsql') {
/**
- * Try to create the store directory.
+ * Try to create the store directory. ensureDir is provided by
+ * OIDUtil.php.
*/
- if (!_ensureDir($store_path)) {
- print "Could not create the FileStore directory '$store_path'. Please ".
- "check the effective permissions.";
+ if (!ensureDir($store_path)) {
+ print "Could not create the FileStore directory '$store_path'. ".
+ " Please check the effective permissions.";
exit(0);
}