We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75aed1a + f951443 commit dfdcdaeCopy full SHA for dfdcdae
src/Services/MaxMindDatabase.php
@@ -27,7 +27,9 @@ public function boot()
27
28
// Copy test database for now
29
if (is_file($path) === false) {
30
- if (!mkdir($concurrentDirectory = dirname($path)) && !is_dir($concurrentDirectory)) {
+ if (!is_dir($concurrentDirectory = dirname($path)) &&
31
+ !mkdir($concurrentDirectory) &&
32
+ !is_dir($concurrentDirectory)) {
33
throw new \RuntimeException(sprintf('Directory "%s" was not created', $concurrentDirectory));
34
}
35
0 commit comments