From 6d75cbe3a3f18d5433b552564d286b367d07a630 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 Dec 2008 13:57:39 +0000 Subject: [PATCH] Fixed doublicate init of filter system if 'cache' extension is installed --- inc/databases.php | 2 +- inc/load_extensions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 59153f0a29..1bcdcbd39e 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -115,7 +115,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "696"); +define('CURR_SVN_REVISION', "697"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/load_extensions.php b/inc/load_extensions.php index 4fc530349e..7db086e4e1 100644 --- a/inc/load_extensions.php +++ b/inc/load_extensions.php @@ -265,7 +265,7 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && ((($cacheMode == "init") && ($CSS != "1") // Free memory SQL_FREERESULT($res_ext_crt); -} else { +} elseif (!EXT_IS_ACTIVE("cache")) { // Init filter system even when there are no extensions installed. #16 INIT_FILTER_SYSTEM(); } -- 2.39.5