From: Roland Häder Date: Wed, 17 Dec 2008 22:12:33 +0000 (+0000) Subject: Fix for missing function GET_CURR_THEME() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49bd88f597c23f8f71f26f07140d6d0e76519bd8;p=mailer.git Fix for missing function GET_CURR_THEME() --- diff --git a/inc/databases.php b/inc/databases.php index 6881f246a2..64c835393c 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', "645"); +define('CURR_SVN_REVISION', "646"); // 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 fe540b053b..9dbbab3874 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -154,18 +154,18 @@ if ((!isBooleanConstantAndTrue('mxchange_installing')) && (isBooleanConstantAndT // Loading patching system is required here... require_once(PATH."inc/patch-system.php"); // Initialize patch system - // 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 + // Session management + require_once(PATH."inc/session.php"); + + // Run daily reset + require_once(PATH."inc/check-reset.php"); + // Load admin include file if he is admin if (IS_ADMIN()) { // Administrative functions