[fix] #222 FUD Full Path Disclosure
This commit is contained in:
parent
cfc25f73e7
commit
c6a6780a89
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@
|
|||
ini_set('upload_max_filesize', '16M');
|
||||
checkphpversion();
|
||||
error_reporting(E_ALL^E_WARNING); // See all error except warnings.
|
||||
ini_set('display_errors', false); // Full Path Disclosure https://github.com/sebsauvage/Shaarli/issues/222
|
||||
//error_reporting(-1); // See all errors (for debugging only)
|
||||
if($GLOBALS['config']['ENABLE_MARKDOWN'] === TRUE){
|
||||
include 'inc/Parsedown.php';
|
||||
|
|
Loading…
Reference in a new issue