Marius Cramer
2015-05-22 86e6990d7e6f5634f83ef2a125e14cf08bac1dc0
server/lib/classes/file.inc.php
@@ -190,7 +190,7 @@
      // @ext_save : 1 for YES, 0 for NO - meaning it will filter out system files or not (such as .htaccess)
      $dirname = realpath($dirname);
      if (!$exts || empty($exts) || $exts == '') {
      if (empty($exts)) {
         $exts = array('jpg', 'gif', 'jpeg', 'png');
      }
      if ($handle = opendir($dirname)) {