Return true when touch succeeds

This commit is contained in:
Vincent Petry 2013-11-26 12:47:00 +01:00
parent dc67c7efa9
commit e102eec89a
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ abstract class StreamWrapper extends Common {
}
} else {
$this->file_put_contents($path, '');
return true;
}
}