Commit a3eade7c authored by webchick's avatar webchick
Browse files

Issue #1704422 by sun: Fixed Error level constants cannot be used in settings.php.

parent 16e21dac
......@@ -36,6 +36,26 @@
*/
const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = '32M';
/**
* Error reporting level: display no errors.
*/
const ERROR_REPORTING_HIDE = 'hide';
/**
* Error reporting level: display errors and warnings.
*/
const ERROR_REPORTING_DISPLAY_SOME = 'some';
/**
* Error reporting level: display all messages.
*/
const ERROR_REPORTING_DISPLAY_ALL = 'all';
/**
* Error reporting level: display all messages, plus backtrace information.
*/
const ERROR_REPORTING_DISPLAY_VERBOSE = 'verbose';
/**
* @defgroup logging_severity_levels Logging severity levels
* @{
......
......@@ -7,26 +7,6 @@
use Symfony\Component\HttpFoundation\Response;
/**
* Error reporting level: display no errors.
*/
const ERROR_REPORTING_HIDE = 'hide';
/**
* Error reporting level: display errors and warnings.
*/
const ERROR_REPORTING_DISPLAY_SOME = 'some';
/**
* Error reporting level: display all messages.
*/
const ERROR_REPORTING_DISPLAY_ALL = 'all';
/**
* Error reporting level: display all messages, plus backtrace information.
*/
const ERROR_REPORTING_DISPLAY_VERBOSE = 'verbose';
/**
* Maps PHP error constants to watchdog severity levels.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment