Merge pull request #533 from erAck/master

Add xml inc svg as 'text' file extensions to serendipity_FTPChecksum()
This commit is contained in:
Garvin Hicking 2017-09-25 09:32:17 +02:00 committed by GitHub
commit cacf778480

View File

@ -1136,6 +1136,9 @@ function serendipity_FTPChecksum($filename, $type = null) {
strcasecmp($ext, 'sh') &&
strcasecmp($ext, 'html') &&
strcasecmp($ext, 'htm') &&
strcasecmp($ext, 'xml') &&
strcasecmp($ext, 'inc') &&
strcasecmp($ext, 'svg') &&
!empty($ext)) {
if (!in_array($ext, array_keys($debug_exts))) {
$debug_exts[$ext] = $filename;