Skip to content

Commit

Permalink
be sure func isn't disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnazg committed Nov 24, 2024
1 parent ca343c0 commit ad597d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PEAR.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
$GLOBALS['_PEAR_shutdown_funcs'] = array();
$GLOBALS['_PEAR_error_handler_stack'] = array();

@ini_set('track_errors', true);
if(function_exists('ini_set')) {
@ini_set('track_errors', true);
}

/**
* Base class for other PEAR classes. Provides rudimentary
Expand Down

0 comments on commit ad597d4

Please sign in to comment.