[BUGFIX] Vague error message in t3lib_div
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_div.php
index 925de8c..7e8970c 100644 (file)
@@ -2879,7 +2879,7 @@ final class t3lib_div {
                                                        if ($filepath == $dirName . $fI['basename']) {
                                                                self::writeFile($filepath, $content);
                                                                if (!@is_file($filepath)) {
-                                                                       return 'File not written to disk! Write permission error in filesystem?';
+                                                                       return 'The file was not written to the disk. Please, check that you have write permissions to the typo3temp/ directory.';
                                                                }
                                                        } else {
                                                                return 'Calculated filelocation didn\'t match input $filepath!';