From b91c8d5dd040f48cbb71d195dcbb6cf707391112 Mon Sep 17 00:00:00 2001 From: webchick Date: Thu, 13 Sep 2012 02:24:18 -0700 Subject: Issue #1704422 by sun, dcam: Fixed Error level constants cannot be used in settings.php. --- includes/bootstrap.inc | 15 +++++++++++++++ includes/errors.inc | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index fe66b9ba0..5b8647410 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -25,6 +25,21 @@ define('DRUPAL_MINIMUM_PHP', '5.2.4'); */ define('DRUPAL_MINIMUM_PHP_MEMORY_LIMIT', '32M'); +/** + * Error reporting level: display no errors. + */ +define('ERROR_REPORTING_HIDE', 0); + +/** + * Error reporting level: display errors and warnings. + */ +define('ERROR_REPORTING_DISPLAY_SOME', 1); + +/** + * Error reporting level: display all messages. + */ +define('ERROR_REPORTING_DISPLAY_ALL', 2); + /** * Indicates that the item should never be removed unless explicitly selected. * diff --git a/includes/errors.inc b/includes/errors.inc index 9d0df0544..7fd2de2fb 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -5,21 +5,6 @@ * Functions for error handling. */ -/** - * Error reporting level: display no errors. - */ -define('ERROR_REPORTING_HIDE', 0); - -/** - * Error reporting level: display errors and warnings. - */ -define('ERROR_REPORTING_DISPLAY_SOME', 1); - -/** - * Error reporting level: display all messages. - */ -define('ERROR_REPORTING_DISPLAY_ALL', 2); - /** * Maps PHP error constants to watchdog severity levels. * -- cgit v1.2.3