Parcourir la source

Add a line in wiki config to see errors

This line is commented out and can be uncommented to spot errors on servers.
DricomDragon il y a 5 ans
Parent
commit
e6e0a92e52
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Install/Templates/mediawiki/LocalSettings.php

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

@@ -157,3 +157,5 @@ $wgFileExtensions = array('ppt', 'pptx', 'pdf', 'doc', 'docx', 'odt', 'odp', 'xm
 require_once "$IP/extensions/DrawioEditor/DrawioEditor.php";
 require_once "$IP/extensions/NativeSvgHandler/NativesSvgHandler.php";
 
+# Uncomment to see errors
+#$wgShowExceptionDetails = true;