From bf1fe67a7b4d66dcbb0491c330d969bb8adcc577 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 17 Dec 2008 21:30:36 +0000 Subject: [PATCH] Fix for double function GET_CURR_THEME() --- inc/databases.php | 2 +- inc/libs/theme_functions.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/databases.php b/inc/databases.php index 7a56ff898c..b4bfbe4a5b 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "643"); +define('CURR_SVN_REVISION', "644"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 5fff9d7064..ba09b55a20 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -40,6 +40,8 @@ if (!defined('__SECURITY')) { // Always make sure the session management is initialized first require_once(PATH."inc/session.php"); +// Dirty fix for dublicate function +if (!function_exists('GET_CURR_THEME')) { // Get current theme name function GET_CURR_THEME() { global $INC_POOL, $_CONFIG, $CSS, $cacheArray; @@ -92,6 +94,7 @@ function GET_CURR_THEME() { // Return theme value return $ret; } +} // END - if function THEME_SELECTION_BOX($mod, $act, $wht, $result) { // Construction URL -- 2.39.5