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:
@@ -4315,7 +4315,7 @@ class e_parse
|
||||
|
||||
if (strpos($image, '://') !== false) // Remote Image
|
||||
{
|
||||
if (file_exists($image))
|
||||
if (@fopen($image, 'r'))
|
||||
{
|
||||
$url = $image;
|
||||
}
|
||||
|
Reference in New Issue
Block a user