File: phpbb/error_collector.php
Unmodified
Added
Modified
Removed
Line 16 | Line 16 |
---|
class error_collector { var $errors;
|
class error_collector { var $errors;
|
| var $error_types;
|
|
|
function __construct()
| /** * Constructor. * * The variable $error_types may be set to a mask of PHP error types that * the collector should keep, e.g. `E_ALL`. If unset, the current value of * the error_reporting() function will be used to determine which errors * the collector will keep. * * @see PHPBB3-13306 * @param int|null $error_types */ function __construct($error_types = null)
|
{ $this->errors = array();
|
{ $this->errors = array();
|
| $this->error_types = $error_types;
|
}
function install() {
|
}
function install() {
|
set_error_handler(array(&$this, 'error_handler'));
| set_error_handler(array(&$this, 'error_handler'), ($this->error_types !== null) ? $this->error_types : error_reporting());
|
}
function uninstall()
| }
function uninstall()
|