Parcourir la source

! Something else needed moving up the running order too. Fixes #1025

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer il y a 11 ans
Parent
commit
453ff1b298
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -61,10 +61,10 @@ $smcFunc = array();
 loadDatabase();
 
 // Load the settings from the settings table, and perform operations like optimizing.
+$context = array();
 reloadSettings();
 // Clean the request variables, add slashes, etc.
 cleanRequest();
-$context = array();
 
 // Seed the random generator.
 if (empty($modSettings['rand_seed']) || mt_rand(1, 250) == 69)