Skip to content

Commit

Permalink
Disable dev level debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gav- committed Aug 1, 2022
1 parent aa7bff1 commit aceaa57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RESTfm.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
$startTimeUs = microtime(TRUE);

// Ensure E_STRICT is removed for PHP 5.4+
//error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
error_reporting(E_ALL & ~E_STRICT); // Dev. level reporting
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
//error_reporting(E_ALL & ~E_STRICT); // Dev. level reporting

// x-debug's html error output makes CLI debugging with cURL a problem.
ini_set('html_errors', FALSE);
Expand Down

0 comments on commit aceaa57

Please sign in to comment.