mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Remove query string from meta image path before checking
This commit is contained in:
parent
a93a6097a7
commit
c6833ba880
1 changed files with 1 additions and 1 deletions
|
|
@ -2698,7 +2698,7 @@ class Context
|
|||
*/
|
||||
public static function addMetaImage($filename, $width = 0, $height = 0)
|
||||
{
|
||||
$filename = preg_replace('/^[.\\\\\\/]+/', '', $filename);
|
||||
$filename = preg_replace(['/^[.\\\\\\/]+/', '/\\?[0-9]+$/'], ['', ''], $filename);
|
||||
if (!file_exists(\RX_BASEDIR . $filename))
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue