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:
commit
38a427416c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user