Skip to content

Commit c0f51b4

Browse files
committed
changes for v1.10.16
1 parent ce0adad commit c0f51b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PEAR.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
$GLOBALS['_PEAR_shutdown_funcs'] = array();
5050
$GLOBALS['_PEAR_error_handler_stack'] = array();
5151

52-
@ini_set('track_errors', true);
52+
if(function_exists('ini_set')) {
53+
@ini_set('track_errors', true);
54+
}
5355

5456
/**
5557
* Base class for other PEAR classes. Provides rudimentary

0 commit comments

Comments
 (0)