[VD:LocalFileSystem] code briefly of 8038741556

This commit is contained in:
Naoki Sawada
2017-09-28 09:23:34 +09:00
committed by GitHub
parent 8038741556
commit 751a7fc3a9
+1 -4
View File
@@ -934,10 +934,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
**/
protected function _filePutContents($path, $content) {
if (file_put_contents($path, $content, LOCK_EX) === false) {
return false;
}
return true;
return (file_put_contents($path, $content, LOCK_EX) !== false);
}
/**