Images and filemanager on solaris
Posted: Thu Jan 21, 2010 10:37 pm
This problem is related to the image's not showing up in the file manager. The images upload just fine and creating folders works too. Seems possible that creating the list of images to display doesn't work on Solaris systems because the glob_brace flag is used. normally this shouldn't be a problem, but solaris systems just don't have it. (don't know why.)
is there a way to produce the array without glob_brace? or possibly just a replacement line to look for all files to make sure I'm not missing something else?
filemanager.php (line 84)
$files = glob(rtrim($directory, '/') . '/*.{jpg,jpeg,png,gif}', GLOB_BRACE);
is there a way to produce the array without glob_brace? or possibly just a replacement line to look for all files to make sure I'm not missing something else?
filemanager.php (line 84)
$files = glob(rtrim($directory, '/') . '/*.{jpg,jpeg,png,gif}', GLOB_BRACE);