mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Adds if( !defined( '*' ) ) to avoid E_NOTICE and redefining.
* Improves error output when using phpconsole (transaction.log) to stop output of E_DEPRECATED. * The main objective is to better view phpconsole's output. E_NOTICE and E_WARNING are important, regardless.
This commit is contained in:
@@ -7,6 +7,7 @@ require_once('Connections/database_functions.php');
|
||||
/*
|
||||
require_once(realpath($_SERVER["DOCUMENT_ROOT"]) . '/php-console/src/PhpConsole/__autoload.php');
|
||||
$handler = PhpConsole\Handler::getInstance();
|
||||
$handler->setErrorsHandlerLevel(E_ALL &~ E_DEPRECATED);
|
||||
$handler->start();
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user