From 3b830d91a81ad87f56ad90c96f1ddf3ec35e51e8 Mon Sep 17 00:00:00 2001 From: vargenau Date: Fri, 6 Nov 2009 13:53:57 +0000 Subject: [PATCH] Allow uploading and displaying inline SVG images git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7262 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- g | 4 ++-- lib/plugin/UpLoad.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/g b/g index d1417b885..031e7e1d2 100644 --- a/g +++ b/g @@ -110,8 +110,8 @@ if (!$group_id || !$project) { define('ADMIN_USER', 'ACOS Forge Administrator'); define('ADMIN_PASSWD', 'xxx'); - // Allow ".jpeg" as extension - define('INLINE_IMAGES', 'png|jpg|jpeg|gif'); + // Allow ".svg" as extension + define('INLINE_IMAGES', 'png|jpg|jpeg|gif|svg'); // Allow parsing of headers for CreateToc define('TOC_FULL_SYNTAX', true); diff --git a/lib/plugin/UpLoad.php b/lib/plugin/UpLoad.php index dd930430d..fe4918441 100644 --- a/lib/plugin/UpLoad.php +++ b/lib/plugin/UpLoad.php @@ -95,6 +95,7 @@ png ppt pptx rar +svg tar tar.gz txt -- 2.45.0