Mercurial > hg > fapweb
changeset 1064:755c1acae3f3
Merge.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 19 Nov 2016 03:31:10 +0200 |
parents | 7135c7b18bb9 (current diff) 85e268f6a822 (diff) |
children | 2d7d5940ec47 |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/faptool.php Thu Nov 17 14:20:00 2016 +0200 +++ b/faptool.php Sat Nov 19 03:31:10 2016 +0200 @@ -534,7 +534,7 @@ } $sbinfo[] = ""; - + $sbinfoStr = implode("\n", $sbinfo); // Create the destination directory if (wtMakeDir(stMakePath(FALSE, FALSE, array($pathPrefix, $compo["cpath"])), 0755) === false) @@ -585,7 +585,7 @@ } $dstFilename = stMakePath(FALSE, FALSE, array($dstPath, "fapinfo.txt")); - if (@file_put_contents($dstFilename, implode("\r\n", $sbinfo)) === FALSE) + if (@file_put_contents($dstFilename, $sbinfoStr) === FALSE) { echo "ERROR: Failed to output '".$dstFilename."'\n"; return FALSE;