File: phpbb/debug/debug.php
Unmodified
Added
Modified
Removed
Line 24 | Line 24 |
---|
*/ class debug {
|
*/ class debug {
|
private static $enabled = false;
| static private $enabled = false;
|
/** * Enables the debug tools.
| /** * Enables the debug tools.
|
Line 37 | Line 37 |
---|
* @param int $errorReportingLevel The level of error reporting you want * @param bool $displayErrors Whether to display errors (for development) or just log them (for production) */
|
* @param int $errorReportingLevel The level of error reporting you want * @param bool $displayErrors Whether to display errors (for development) or just log them (for production) */
|
public static function enable($errorReportingLevel = null, $displayErrors = true)
| static public function enable($errorReportingLevel = null, $displayErrors = true)
|
{ if (static::$enabled) {
| { if (static::$enabled) {
|