mirror of
https://github.com/typemill/typemill.git
synced 2025-01-16 21:08:20 +01:00
Version 1.5.3: Strip out params for asset urls
This commit is contained in:
parent
2fb958db26
commit
1c76fdf10b
@ -285,7 +285,8 @@ class Assets
|
||||
*/
|
||||
public function getFileUrl($path)
|
||||
{
|
||||
$internalFile = __DIR__ . '/../plugins' . $path;
|
||||
# check system path of file without parameter for fingerprinting
|
||||
$internalFile = __DIR__ . '/../plugins' . strtok($path, "?");
|
||||
|
||||
if(file_exists($internalFile))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user