Skip to content

Commit be00d63

Browse files
authored
Merge pull request #3147 from catchpoint/master
Promote to Prod
2 parents 86abf43 + 5d95f27 commit be00d63

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

www/constants.inc

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@ define('SETTINGS_PATH', realpath(WWW_PATH . '/settings/'));
1313
define('TEMP_DIR', realpath(WWW_PATH . '/tmp/'));
1414
define('OE_PATH', realpath(WWW_PATH . '/experiments/'));
1515

16+
define('WPT_SALT', '2502'); // used to force assets hash
1617
define('VER_WEBPAGETEST', '21.07'); // webpagetest version
17-
define('VER_TYPOGRAPHY_CSS', @md5_file(ASSETS_PATH . '/css/typography.css')); // version of the typography css file
18-
define('VER_LAYOUT_CSS', @md5_file(ASSETS_PATH . '/css/layout.css')); // version of the layout css file
19-
define('VER_CSS', @md5_file(ASSETS_PATH . '/css/pagestyle2.css')); // version of the sitewide css file
20-
define('VER_HEADER_CSS', @md5_file(ASSETS_PATH . '/css/wpt-header.css')); // version of the header css file
21-
define('VER_ACCOUNT_CSS', @md5_file(ASSETS_PATH . '/css/account.css')); // version of the account css file
22-
define('VER_PRICE_CHANGER_JS', @md5_file(ASSETS_PATH . '/js/signup-price-changer.js'));
23-
define('VER_FAQ_JS', @md5_file(ASSETS_PATH . '/js/accessible-faq.js'));
24-
define('VER_BUTTON_CSS', @md5_file(ASSETS_PATH . '/css/button.css')); // version of the button css file
25-
define('VER_JS', @md5_file(ASSETS_PATH . '/js/site.js')); // version of the sitewide javascript file
26-
define('VER_JS_TEST', @md5_file(ASSETS_PATH . '/js/test.js')); // version of the javascript specific to the test pages
27-
define('VER_JS_RUNNING', @md5_file(ASSETS_PATH . '/js/running.js')); // version of the javascript specific to the test running status page
28-
define('VER_JS_ACCOUNT', @md5_file(ASSETS_PATH . '/js/account.js')); // version of the javascript specific to the test running status page
29-
define('VER_JS_ESTIMATE_TAXES', @md5_file(ASSETS_PATH . '/js/estimate-taxes.js'));
30-
define('VER_JS_COUNTRY_LIST', @md5_file(ASSETS_PATH . '/js/country-list/country-list.js'));
18+
define('VER_TYPOGRAPHY_CSS', @md5_file(ASSETS_PATH . '/css/typography.css') . WPT_SALT); // version of the typography css file
19+
define('VER_LAYOUT_CSS', @md5_file(ASSETS_PATH . '/css/layout.css') . WPT_SALT); // version of the layout css file
20+
define('VER_CSS', @md5_file(ASSETS_PATH . '/css/pagestyle2.css') . WPT_SALT); // version of the sitewide css file
21+
define('VER_HEADER_CSS', @md5_file(ASSETS_PATH . '/css/wpt-header.css') . WPT_SALT); // version of the header css file
22+
define('VER_ACCOUNT_CSS', @md5_file(ASSETS_PATH . '/css/account.css') . WPT_SALT); // version of the account css file
23+
define('VER_PRICE_CHANGER_JS', @md5_file(ASSETS_PATH . '/js/signup-price-changer.js') . WPT_SALT);
24+
define('VER_FAQ_JS', @md5_file(ASSETS_PATH . '/js/accessible-faq.js') . WPT_SALT);
25+
define('VER_BUTTON_CSS', @md5_file(ASSETS_PATH . '/css/button.css') . WPT_SALT); // version of the button css file
26+
define('VER_JS', @md5_file(ASSETS_PATH . '/js/site.js') . WPT_SALT); // version of the sitewide javascript file
27+
define('VER_JS_TEST', @md5_file(ASSETS_PATH . '/js/test.js') . WPT_SALT); // version of the javascript specific to the test pages
28+
define('VER_JS_RUNNING', @md5_file(ASSETS_PATH . '/js/running.js') . WPT_SALT); // version of the javascript specific to the test running status page
29+
define('VER_JS_ACCOUNT', @md5_file(ASSETS_PATH . '/js/account.js') . WPT_SALT); // version of the javascript specific to the test running status page
30+
define('VER_JS_ESTIMATE_TAXES', @md5_file(ASSETS_PATH . '/js/estimate-taxes.js') . WPT_SALT);
31+
define('VER_JS_COUNTRY_LIST', @md5_file(ASSETS_PATH . '/js/country-list/country-list.js') . WPT_SALT);
3132
define('UNKNOWN_TIME', -1); // Value used as a flag for an unknown time.
3233

3334
define('BREAKDOWN_CACHE_VERSION', 4);

0 commit comments

Comments
 (0)