1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Issue #1433 Remove confusion about image attachments in forum posts. PDF files now added to default filetypes during install.

This commit is contained in:
Cameron
2016-03-21 10:45:01 -07:00
parent c0501146ae
commit 4db14510de
5 changed files with 54 additions and 17 deletions

View File

@@ -1274,7 +1274,7 @@ function update_706_to_800($type='')
{
$data = '<?xml version="1.0" encoding="utf-8"?>
<e107Filetypes>
<class name="253" type="zip,gz,jpg,jpeg,png,gif,xml" maxupload="2M" />
<class name="253" type="zip,gz,jpg,jpeg,png,gif,xml,pdf" maxupload="2M" />
</e107Filetypes>';
file_put_contents(e_SYSTEM."filetypes.xml",$data);