浏览代码

fix image manager - pydio

causefx 8 年之前
父节点
当前提交
342dda753f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/functions/organizr-functions.php

+ 1 - 1
api/functions/organizr-functions.php

@@ -593,7 +593,7 @@ function getImages(){
     $dirname = dirname(__DIR__,2).DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'tabs'.DIRECTORY_SEPARATOR;
     $dirname = dirname(__DIR__,2).DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'tabs'.DIRECTORY_SEPARATOR;
     $path = 'plugins/images/tabs/';
     $path = 'plugins/images/tabs/';
     $images = scandir($dirname);
     $images = scandir($dirname);
-    $ignore = Array(".", "..", "._.DS_Store", ".DS_Store");
+    $ignore = Array(".", "..", "._.DS_Store", ".DS_Store", ".pydio_id");
     $allIcons = array();
     $allIcons = array();
     foreach($images as $image){
     foreach($images as $image){
         if(!in_array($image, $ignore)) {
         if(!in_array($image, $ignore)) {