Make sure initial files can be properly created
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
da583f05fc
commit
49145a78e9
|
@ -202,7 +202,8 @@ class Quota extends Wrapper {
|
|||
}
|
||||
|
||||
public function mkdir($path) {
|
||||
if ($this->quota === 0.0) {
|
||||
$free = $this->free_space($path);
|
||||
if ($free === 0.0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue