# HG changeset patch # User Matti Hamalainen # Date 1416608174 -7200 # Node ID 98aae54eb940b2d5a6f926e6a613435bef9fddcd # Parent cce7307d2c7523555084aee35405dd4cc654e2c4 Comment. diff -r cce7307d2c75 -r 98aae54eb940 msite.inc.php --- a/msite.inc.php Fri Nov 21 23:57:43 2014 +0200 +++ b/msite.inc.php Sat Nov 22 00:16:14 2014 +0200 @@ -682,6 +682,7 @@ } } + // Optionally, replace the file extension with given string if ($repExt !== FALSE && ($tmp = array_pop($res)) !== false) { if (($spos = strrpos($tmp, ".")) !== FALSE)