Code: Alles auswählen
Warning: in_array() [function.in-array]: Wrong datatype for second argument in \contenido\cms\fileNice\fileNice.php on line 67
Code: Alles auswählen
if(!in_array($hPath,$this->ignoreFolders)){
Code: Alles auswählen
if(!in_array($hPath,$this->ignoreFolders)){
if($isOpen){ $class1 = "open"; $class2 = "contents_open"; }else{ $class1 = "closed"; $class2 = "contents"; }
if(file_exists("$path/fComments.txt")){
$comment = "<span class=\"folder_comment\"> - " . file_get_contents("$path/fComments.txt") . "</span>";
}else{
$comment = "";
}
$path = str_replace("//","/",$path);
$foldersret .= "
<!-- START FOLDER -->
<li class=\"$class1\" id=\"".$this->stripID("li_$path/$file")."\">
<!-- FOLDER TITLE -->
<a href=\"?dir=$path\" class=\"".$this->stripID("$path/$file")." $path\" title=\"click to open this folder\">$file</a> <span>$comment</span>
<!-- START CONTENTS -->
<ul class=\"$class2\" id=\"".$this->stripID("F_$path/$file")."\" >";
if($isOpen){
$list = new FNFileList;
$rec_folders = $list->getFolderArray($path);
$rec_files = $list->getFilesArray($path);
$foldersret .= $this->folderList($rec_folders);
$foldersret .= $this->fileList($rec_files);
}else{
$foldersret .= "<li>Empty</li>";
}
$foldersret .= "</ul>
<!-- END CONTENTS -->
</li>
<!-- END FOLDER -->";
}