Procházet zdrojové kódy

fix image manager - pydio

causefx před 8 roky
rodič
revize
342dda753f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
     $path = 'plugins/images/tabs/';
     $images = scandir($dirname);
-    $ignore = Array(".", "..", "._.DS_Store", ".DS_Store");
+    $ignore = Array(".", "..", "._.DS_Store", ".DS_Store", ".pydio_id");
     $allIcons = array();
     foreach($images as $image){
         if(!in_array($image, $ignore)) {