Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d490e48aa
|
||
|
|
1dcab1abe2
|
||
|
|
bda12177eb
|
||
|
|
f037de014e
|
No files matched your search
@@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager
|
||||
|
||||
if ($relationModel !== null) {
|
||||
$model->$methodSet($relationModel->getId());
|
||||
} else {
|
||||
$model->$methodSet(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -139,7 +139,7 @@ class Linker
|
||||
{
|
||||
$output = [];
|
||||
|
||||
if (preg_match('/^[\w\/\.]+$/', $asset) === 1) {
|
||||
if (preg_match('/^http(s)?/', $asset) !== 1) {
|
||||
if (
|
||||
empty($_ENV['DEV']) &&
|
||||
filesize(ROOT . '/public/static/' . $asset) < self::INLINE_ASSET_LIMIT
|
||||
|
||||
Reference in new issue
Block a user