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.
1 parent f299bc5 commit 6692410Copy full SHA for 6692410
Core/core/Json/Db.php
@@ -55,7 +55,7 @@ public function createDatabase($name = '')
55
$path = $this->path . DIRECTORY_SEPARATOR . $name;
56
57
if (!is_dir($path)) {
58
- return mkdir($path, config_item('json_db_dir_permissions'), true);
+ return mkdir($path, config_item('json_db_dir_permissions') ?: 0755, true);
59
}
60
61
return true;
0 commit comments