Fix for always default theme showed
authorRoland Häder <roland@mxchange.org>
Fri, 19 Dec 2008 18:26:21 +0000 (18:26 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 19 Dec 2008 18:26:21 +0000 (18:26 +0000)
inc/databases.php
inc/mysql-connect.php

index fb4d322b7cf473649cb79786763c23406d75c354..b67e044421b60a77eef788f26e24a643b8b9effe 100644 (file)
@@ -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);
index 4dcd7eaee0ab90b689714194a7a5ce5c0a429aca..62885d2e3127aed78c3055c2a7aa7fceede4c583 100644 (file)
@@ -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