Browse Source

Improve protection from displaying errors to visitors

pull/40/head
Techan 9 years ago
committed by czaks
parent
commit
eb2a468a09
  1. 2
      inc/functions.php

2
inc/functions.php

@ -215,6 +215,8 @@ function loadConfig() {
error_reporting(E_ALL);
ini_set('display_errors', true);
ini_set('html_errors', false);
} else {
ini_set('display_errors', false);
}
// Keep the original address to properly comply with other board configurations

Loading…
Cancel
Save