Skip to content

Commit

Permalink
Do not overwrite error reporting settings
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt authored Jul 13, 2023
1 parent 81c9074 commit 223303e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions quickstatements/public_html/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* Forked from https://phabricator.wikimedia.org/source/tool-quickstatements/browse/master/
* see https://github.com/MaRDI4NFDI/docker-quickstatements/wiki
*/
error_reporting(E_ERROR|E_CORE_ERROR|E_ALL|E_COMPILE_ERROR); //
ini_set('display_errors', 'On');

// return JSON by default
if ( !isset($_REQUEST['openpage']) ) {
Expand Down Expand Up @@ -47,4 +45,4 @@ function fin ( $status = '' ) {
exit(1);
}
fin();
?>
?>

0 comments on commit 223303e

Please sign in to comment.