Update index.php
This commit is contained in:
parent
c6a6780a89
commit
8b2d826eb1
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
// Licence: http://www.opensource.org/licenses/zlib-license.php
|
||||
// Requires: php 5.1.x (but autocomplete fields will only work if you have php 5.2.x)
|
||||
// -----------------------------------------------------------------------------------------------
|
||||
ini_set('display_errors', false); // Full Path Disclosure https://github.com/sebsauvage/Shaarli/issues/222
|
||||
// NEVER TRUST IN PHP.INI
|
||||
// Some hosts do not define a default timezone in php.ini,
|
||||
// so we have to do this for avoid the strict standard error.
|
||||
|
@ -79,7 +80,6 @@
|
|||
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