1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Update e_parse_class.php

Changed file_exists to fopen, to check if remote file exists
This commit is contained in:
rica-carv
2024-05-11 11:32:57 +01:00
committed by GitHub
parent cc41528c3b
commit bcaad61fdb

View File

@@ -4315,7 +4315,7 @@ class e_parse
if (strpos($image, '://') !== false) // Remote Image
{
if (file_exists($image))
if (@fopen($image, 'r'))
{
$url = $image;
}