$ignoreDir=['.git','.idea','vendor','.vscode','logs','uploads','static','public'];functionloopDir($dir){global$ignoreDir;static$level=0;$handle=opendir($dir);while(false!==($file=readdir($handle))){if($file!='.'&&$file!='..'){$str='';for($i=0;$i<$level;$i++){$str.='';}if(is_dir($dir.DIRECTORY_SEPARA