Compare commits
2 Commits
bda12177eb
...
8d490e48aa
Author | SHA1 | Date | |
---|---|---|---|
8d490e48aa | |||
1dcab1abe2 |
@ -139,7 +139,7 @@ class Linker
|
|||||||
{
|
{
|
||||||
$output = [];
|
$output = [];
|
||||||
|
|
||||||
if (preg_match('/^[\w\/\.]+$/', $asset) === 1) {
|
if (preg_match('/^http(s)?/', $asset) !== 1) {
|
||||||
if (
|
if (
|
||||||
empty($_ENV['DEV']) &&
|
empty($_ENV['DEV']) &&
|
||||||
filesize(ROOT . '/public/static/' . $asset) < self::INLINE_ASSET_LIMIT
|
filesize(ROOT . '/public/static/' . $asset) < self::INLINE_ASSET_LIMIT
|
||||||
|
Loading…
Reference in New Issue
Block a user