MAPG-180 don't parse REVISION in view linking time
This commit is contained in:
parent
6098b7bb8d
commit
2f14e1f4c3
@ -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