diff --git a/app/script_edit/filelist.php b/app/script_edit/filelist.php index 5f6cba7418..bdf718ec84 100644 --- a/app/script_edit/filelist.php +++ b/app/script_edit/filelist.php @@ -38,11 +38,6 @@ else { //add css and javascript require_once "header.php"; -//define function is_file - function is_file($filename) { - //if (@filesize($filename) > 0) { return true; } else { return false; } - } - //define function space function space($count) { $r=''; $i=0; @@ -83,15 +78,16 @@ else { $level = explode('/',$newpath); if (is_dir($newpath)) { - /*$mod_array[] = array( - 'level'=>count($level)-1, - 'path'=>$newpath, - 'name'=>end($level), - 'type'=>'dir', - 'mod_time'=>filemtime($newpath), - 'size'=>''); - $mod_array[] = recur_dir($newpath); - */ + + //$mod_array[] = array( + //'level'=>count($level)-1, + //'path'=>$newpath, + //'name'=>end($level), + //'type'=>'dir', + //'mod_time'=>filemtime($newpath), + //'size'=>''); + //$mod_array[] = recur_dir($newpath); + $dirname = end($level); $htmldirlist .= space(count($level))."
$dirname |