From 745b5b034c70ceceb77eba2be992d9ea5e4e7a32 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 30 Oct 2009 22:33:35 +0000 Subject: - Patch #618938 by pwolanin: fixed Drupal version is not being available until the end of bootstrap. --- includes/bootstrap.inc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 191200e45..767aa07ac 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -6,6 +6,36 @@ * Functions that need to be loaded on every Drupal request. */ +/** + * The current system version. + */ +define('VERSION', '7.0-dev'); + +/** + * Core API compatibility. + */ +define('DRUPAL_CORE_COMPATIBILITY', '7.x'); + +/** + * Minimum supported version of PHP. + */ +define('DRUPAL_MINIMUM_PHP', '5.2.0'); + +/** + * Minimum recommended value of PHP memory_limit. + */ +define('DRUPAL_MINIMUM_PHP_MEMORY_LIMIT', '16M'); + +/** + * Minimum supported version of MySQL, if it is used. + */ +define('DRUPAL_MINIMUM_MYSQL', '5.0'); + +/** + * Minimum supported version of PostgreSQL, if it is used. + */ +define('DRUPAL_MINIMUM_PGSQL', '8.3'); + /** * Indicates that the item should never be removed unless explicitly told to * using cache_clear_all() with a cache ID. -- cgit v1.2.3