diff --git a/select_images.php b/select_images.php index 9632686f3..27cf0e8a5 100644 --- a/select_images.php +++ b/select_images.php @@ -83,8 +83,12 @@ $script = array( "settings.js","ajax_utils.js" ); -// All the user's files in the server. $_SESSION['fileserver']->resetFiles(); + +/* Set the default extensions. */ +$_SESSION['fileserver']->imageExtensions(); + +// All the user's files in the server. $allFiles = $_SESSION['fileserver']->listFiles(TRUE); // All the user's series in the server.