Fix for double function GET_CURR_THEME()
authorRoland Häder <roland@mxchange.org>
Wed, 17 Dec 2008 21:30:36 +0000 (21:30 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 17 Dec 2008 21:30:36 +0000 (21:30 +0000)
inc/databases.php
inc/libs/theme_functions.php

index 7a56ff898ce8b094859df3bee52f630ee0fae075..b4bfbe4a5befa4bb9af2cb99c4dbfd79b03e22ac 100644 (file)
@@ -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);
index 5fff9d70642ae01cd8c18a3cb5fe9166eb120b14..ba09b55a20016e60416e1b19006699ba95ed2880 100644 (file)
@@ -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