From bcaad61fdb829f10c816efe6429a74d4789572db Mon Sep 17 00:00:00 2001 From: rica-carv Date: Sat, 11 May 2024 11:32:57 +0100 Subject: [PATCH] Update e_parse_class.php Changed file_exists to fopen, to check if remote file exists --- e107_handlers/e_parse_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 7b3cd85f2c..1354b19882 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -4315,7 +4315,7 @@ public function toAvatar($userData = null, $options = array()) if (strpos($image, '://') !== false) // Remote Image { - if (file_exists($image)) + if (@fopen($image, 'r')) { $url = $image; }