mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +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 (strpos($image, '://') !== false) // Remote Image
|
||||||
{
|
{
|
||||||
if (file_exists($image))
|
if (@fopen($image, 'r'))
|
||||||
{
|
{
|
||||||
$url = $image;
|
$url = $image;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user