Fresh installation of 4.0.2.1 without any modifications neither extensions , Centos7 - Cpanel - Php 8.1
i got the photos dublicated with the same names ,
i have another server running Alma linux with the same installation without this bug
any idea
Where is this image manager being used?
___
Click here.
Demo: https://opencart.bio/
Extension: https://www.opencart.com/index.php?rout ... n_id=45133
With the OpenCart TWK Page Builder, you can transform your e-commerce website into a visually captivating masterpiece without any coding or technical expertise.
I found the file filemanager.php in admin\controller\common
Changed this line of code:
$paths = glob($directory . $filter_name . '*{/,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
to:
$paths = glob($directory . $filter_name . '*{/.,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
Changed this line of code:
$paths = glob($directory . $filter_name . '*{/,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
to:
$paths = glob($directory . $filter_name . '*{/.,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
Who is online
Users browsing this forum: No registered users and 52 guests