From c6a6780a89eac43d0d867caec54019a69eed26b9 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Fri, 24 Jul 2015 10:09:50 +0200 Subject: [PATCH] [fix] #222 FUD Full Path Disclosure --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 5f9bf5c..7804d58 100644 --- a/index.php +++ b/index.php @@ -79,6 +79,7 @@ ini_set('post_max_size', '16M'); 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';