projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Dateimanagment: itime/mtime in DB kann gesetzt werden, mtime kann in Filesystem-Backe...
[kivitendo-erp.git]
/
SL
/
File
/
Backend
/
Filesystem.pm
diff --git
a/SL/File/Backend/Filesystem.pm
b/SL/File/Backend/Filesystem.pm
index
c42707d
..
ec67d74
100644
(file)
--- a/
SL/File/Backend/Filesystem.pm
+++ b/
SL/File/Backend/Filesystem.pm
@@
-79,6
+79,9
@@
sub save {
print OUT $params{file_contents};
close(OUT);
}
+ if ($params{mtime}) {
+ utime($params{mtime}, $params{mtime}, $tofile);
+ }
return 1;
}