mirror of
https://github.com/typemill/typemill.git
synced 2025-07-31 03:10:19 +02:00
Version 1.5.3: Strip out params for asset urls
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user