Skip to content
Snippets Groups Projects
Commit 4fdb5187 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

improve temp directory handling in oauth

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1658 44740490-163a-0410-bde0-09ae8108e29a
parent 54b1ac3e
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,10 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore {
if (!file_exists($path)) {
mkdir($path);
} else {
if (!is_dir($path))
throw new Exception('OAuth Storage Path [' . $path . '] is not a valid directory');
}
if (!is_dir($path))
throw new Exception('OAuth Storage Path [' . $path . '] is not a valid directory');
$this->path = $path;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment