Переглянути джерело

call to reset_browser_cache()

Signed-off-by: Suki <[email protected]>
Suki 10 роки тому
батько
коміт
0c34d816c6
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      index.php

+ 4 - 0
index.php

@@ -71,6 +71,10 @@ cleanRequest();
 if (empty($modSettings['rand_seed']) || mt_rand(1, 250) == 69)
 	smf_seed_generator();
 
+// Browser cache variable
+if(empty($modSettings['browser_cache']))
+	reset_browser_cache();
+
 // Before we get carried away, are we doing a scheduled task? If so save CPU cycles by jumping out!
 if (isset($_GET['scheduled']))
 {