summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-07 19:43:29 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-07 19:43:29 +0000
commit66b7a5cb74d45c2e94b021aff1a24d3b83ca8501 (patch)
treee61ce5e2d9253e18d2835b34d4d35d45dc4587e2 /install.php
parent8ea4186e71c7e50046a7f20effdec6c68125da9d (diff)
downloadbrdo-66b7a5cb74d45c2e94b021aff1a24d3b83ca8501.tar.gz
brdo-66b7a5cb74d45c2e94b021aff1a24d3b83ca8501.tar.bz2
#199946 by JirkaRybka: append a short query string to CSS and JS files, changing on upgrades, so on core/module/theme upgrades, browser caches will 'flush'
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.php b/install.php
index 426493150..2b83a3c52 100644
--- a/install.php
+++ b/install.php
@@ -792,6 +792,10 @@ if (Drupal.jsEnabled) {
// Register actions declared by any modules.
actions_synchronize();
+ // Randomize query-strings on css/js files, to hide the fact that
+ // this is a new install, not upgraded yet.
+ _drupal_flush_css_js();
+
variable_set('install_profile', $profile);
}