Add option to disable error report for undefined superglobals

Prevents the following error
http://imgur.com/4av3KmN
This commit is contained in:
ethanpil
2017-01-17 13:08:01 -05:00
committed by GitHub
parent 23255d5ace
commit f90870bfab

View File

@@ -6,6 +6,9 @@ Copyright John Campbell (jcampbell1)
Liscense: MIT 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. // Set to false to disable delete button and delete POST request.
$allow_delete = true; $allow_delete = true;