Add option to disable error report for undefined superglobals
Prevents the following error http://imgur.com/4av3KmN
This commit is contained in:
1 parent
23255d5ace
commit
f90870bfab
1 file changed
+3
@@ -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