Browse 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 5 years ago
parent
commit
e6e0a92e52
1 changed files with 2 additions and 0 deletions
  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;