From 094c07fa19309bf3f90b3d39c1c4238e4a5739d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 Dec 2008 18:26:21 +0000 Subject: [PATCH] Fix for always default theme showed --- inc/databases.php | 2 +- inc/mysql-connect.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index fb4d322b7c..b67e044421 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', "675"); +define('CURR_SVN_REVISION', "676"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 4dcd7eaee0..62885d2e31 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -161,18 +161,18 @@ if ((!isBooleanConstantAndTrue('mxchange_installing')) && (isBooleanConstantAndT // Loading patching system is required here... require_once(PATH."inc/patch-system.php"); // Initialize patch system - // Create missing configuration file - if (!function_exists('GET_CURR_THEME')) { - // Load dummy theme functions - require_once(PATH."inc/theme-dummy.php"); - } // END - if - // Session management require_once(PATH."inc/session.php"); // Run daily reset require_once(PATH."inc/check-reset.php"); + // Create missing configuration file + if (!function_exists('GET_CURR_THEME')) { + // Load dummy theme functions + require_once(PATH."inc/theme-dummy.php"); + } // END - if + // Load admin include file if he is admin if (IS_ADMIN()) { // Administrative functions -- 2.39.5