Fix for missing function GET_CURR_THEME()
authorRoland Häder <roland@mxchange.org>
Wed, 17 Dec 2008 22:12:33 +0000 (22:12 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 17 Dec 2008 22:12:33 +0000 (22:12 +0000)
inc/databases.php
inc/mysql-connect.php

index 6881f246a2f282580df87e2d88d9b103f91e908c..64c835393c55e40fc8422a592403129dbb0447b0 100644 (file)
@@ -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);
index fe540b053b3cbbc1cd35d46c18e694587f13bbcb..9dbbab38743d350f8c06860a537cbc6cc3e68d86 100644 (file)
@@ -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