I have about 10 images in the /uploads/ directory.
Create a new directory using Admin -> Manage Directory (I created "Images") and leave it empty. Should now have /uploads/Images/ with no contents.
Goto the Admin -> Media Library and you should see:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /usr/dh0/websites/dh0/docroot/blog/include/functions_images.inc.php on line 1200
Filters - Find media
Code: Select all
function serendipity_traversePath($basedir, $dir='', $onlyDirs=true, $pattern = NULL, $depth = 1) {
$dh = @opendir($basedir . '/' . $dir);
if ( !$dh ) {
return array();
}