Mercurial > hg > fapweb
changeset 960:af501f585941
Minor fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Nov 2014 02:19:55 +0200 |
parents | 1b95dcd0b566 |
children | d0c49745f27f |
files | msite.inc.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/msite.inc.php Fri Nov 28 22:19:51 2014 +0200 +++ b/msite.inc.php Sat Nov 29 02:19:55 2014 +0200 @@ -1265,9 +1265,9 @@ // Get original extension if (($fileExt = $fileInfo["fext"]) === false) { - $fileExt = ".tmp"; + $fileExt = "bin"; if (($epos = strrpos($orgFilename, ".")) !== false) - $fileExt = substr($orgFilename, $epos); + $fileExt = substr($orgFilename, $epos + 1); } // Update current or add new file entry