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);
|
$output['code'] = file_get_contents(ROOT . '/public/static/' . $asset);
|
||||||
} else {
|
} else {
|
||||||
if (!preg_match('/^http(s)?/', $asset)) {
|
if (!preg_match('/^http(s)?/', $asset)) {
|
||||||
$output['file'] = $_ENV['STATIC_ROOT'] . '/' . $asset . '?rev=' . REVISION;
|
$output['file'] = $_ENV['STATIC_ROOT'] . '/' . $asset . '?rev=<?= REVISION ?>';
|
||||||
} else {
|
} else {
|
||||||
$output['file'] = $asset;
|
$output['file'] = $asset;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user