cache busting for js and css files

This commit is contained in:
2017-09-12 00:52:06 +02:00
parent f6ab97a886
commit 9db61f0c1a
4 changed files with 9 additions and 6 deletions
+2
View File
@@ -16,6 +16,8 @@ if (!file_exists(__DIR__ . '/_env.php')) {
die("Copy <b>_env.php.example</b> to <b>_env.php</b> and check the settings inside!");
}
define('GIT_HASH', trim(shell_exec('git rev-parse --short HEAD')));
require_once __DIR__ . '/_env.php';
$prod = defined('STDIN');