mirror of
https://github.com/jcampbell1/simple-file-manager.git
synced 2025-02-20 22:00:04 +01:00
Add option to disable error report for undefined superglobals
Prevents the following error http://imgur.com/4av3KmN
This commit is contained in:
@@ -6,6 +6,9 @@ Copyright John Campbell (jcampbell1)
|
||||
Liscense: MIT
|
||||
********************************/
|
||||
|
||||
//Disable error report for undefined superglobals
|
||||
error_reporting( error_reporting() & ~E_NOTICE );
|
||||
|
||||
// Set to false to disable delete button and delete POST request.
|
||||
$allow_delete = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user