[fix] #222 FUD Full Path Disclosure

This commit is contained in:
Knah Tsaeb 2015-07-24 10:09:50 +02:00
parent 48b68c8fa5
commit be58e68082
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ ini_set('post_max_size', '16M');
ini_set('upload_max_filesize', '16M'); ini_set('upload_max_filesize', '16M');
checkphpversion(); checkphpversion();
error_reporting(E_ALL^E_WARNING); // See all error except warnings. 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) //error_reporting(-1); // See all errors (for debugging only)
include "inc/rain.tpl.class.php"; //include Rain TPL include "inc/rain.tpl.class.php"; //include Rain TPL