Actions
Bug #2920
closedImageMagic: presence not correctly checked when open_base_dir restriction is in effect but exec() is allowed
Description
Check for executable file instead of path directory directory:
As explained here:
https://www.joomlapolis.com/forum/145-community-builder/179071-imagemagick-path-wrong-since-upgrade-to-cb-17#180067
isdir() is subject to openbasepath restrictions while executables are not.
Fix is to replace is_dir() with is_executable( dir + imagemagic executable file )
Files
Actions