Merged in bugfix/MAPG-180-unify-inline-js (pull request #161)

MAPG-180 don't parse REVISION in view linking time
This commit is contained in:
Bence Pőcze 2020-06-27 11:21:02 +00:00
commit 38a427416c

View File

@ -144,7 +144,7 @@ class Linker
$output['code'] = file_get_contents(ROOT . '/public/static/' . $asset);
} else {
if (!preg_match('/^http(s)?/', $asset)) {
$output['file'] = $_ENV['STATIC_ROOT'] . '/' . $asset . '?rev=' . REVISION;
$output['file'] = $_ENV['STATIC_ROOT'] . '/' . $asset . '?rev=<?= REVISION ?>';
} else {
$output['file'] = $asset;
}