diff options
Diffstat (limited to 'Auth/OpenID')
-rw-r--r-- | Auth/OpenID/Store/FileStore.php | 8 | ||||
-rw-r--r-- | Auth/OpenID/Util.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Auth/OpenID/Store/FileStore.php b/Auth/OpenID/Store/FileStore.php index e518b19..95c1de7 100644 --- a/Auth/OpenID/Store/FileStore.php +++ b/Auth/OpenID/Store/FileStore.php @@ -199,10 +199,10 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore { */ function _setup() { - return (ensureDir(dirname($this->auth_key_name)) && - ensureDir($this->nonce_dir) && - ensureDir($this->association_dir) && - ensureDir($this->temp_dir)); + return (Auth_OpenID_ensureDir(dirname($this->auth_key_name)) && + Auth_OpenID_ensureDir($this->nonce_dir) && + Auth_OpenID_ensureDir($this->association_dir) && + Auth_OpenID_ensureDir($this->temp_dir)); } /** diff --git a/Auth/OpenID/Util.php b/Auth/OpenID/Util.php index 8e93782..dba3c28 100644 --- a/Auth/OpenID/Util.php +++ b/Auth/OpenID/Util.php @@ -25,7 +25,7 @@ $_Auth_OpenID_punct = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"; * make sure that it is, in fact, a directory. Returns true if the * operation succeeded; false if not. */ -function ensureDir($dir_name) +function Auth_OpenID_ensureDir($dir_name) { if (@mkdir($dir_name) || is_dir($dir_name)) { return true; |