summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2012-09-13 09:24:18 (GMT)
committer webchick2012-09-13 09:24:18 (GMT)
commitb91c8d5dd040f48cbb71d195dcbb6cf707391112 (patch)
tree68be895a2d96e037da2e16790c822d2ab3ce34d9
parent914cf198d3a8138496ac038f7806003fc324ae24 (diff)
Issue #1704422 by sun, dcam: Fixed Error level constants cannot be used in settings.php.
-rw-r--r--includes/bootstrap.inc15
-rw-r--r--includes/errors.inc15
2 files changed, 15 insertions, 15 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index fe66b9b..5b86474 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -26,6 +26,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.
*
* The item may be removed using cache_clear_all() with a cache ID.
diff --git a/includes/errors.inc b/includes/errors.inc
index 9d0df05..7fd2de2 100644
--- a/includes/errors.inc
+++ b/includes/errors.inc
@@ -6,21 +6,6 @@
*/
/**
- * 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.
*
* The error constants are documented at