Browse Source

Add a line in config to enable SVG on wiki

Prevent from converting SVG to jpg.
DricomDragon 5 years ago
parent
commit
a178ec3ab8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Install/Templates/mediawiki/LocalSettings.php

+ 2 - 0
Install/Templates/mediawiki/LocalSettings.php

@@ -155,3 +155,5 @@ $wgFileExtensions = array('ppt', 'pptx', 'pdf', 'doc', 'docx', 'odt', 'odp', 'xm
 
 # Enable extensions
 require_once "$IP/extensions/DrawioEditor/DrawioEditor.php";
+require_once "$IP/extensions/NativeSvgHandler/NativesSvgHandler.php";
+