diff --git a/bin/v-list-fs-directory b/bin/v-list-fs-directory index 05b7e521..65102888 100755 --- a/bin/v-list-fs-directory +++ b/bin/v-list-fs-directory @@ -39,7 +39,8 @@ fi # Listing directory sudo -u $user find "$path" -maxdepth 1 \ - -printf "%y|%m|%TY-%Tm-%Td|%TH:%TM:%TS|%u|%g|%s|%P\n" 2>/dev/null + -printf "%y|%m|%TY-%Tm-%Td|%TH:%TM|%u|%g|%s|%P\n" 2>/dev/null +# -printf "%y|%m|%TY-%Tm-%Td|%TH:%TM:%TS|%u|%g|%s|%P\n" 2>/dev/null # Exiting exit $? diff --git a/web/list/directory/index.php b/web/list/directory/index.php new file mode 100644 index 00000000..4c8a0795 --- /dev/null +++ b/web/list/directory/index.php @@ -0,0 +1,24 @@ + 0 ) { + header("Location: /error/"); + exit; + } + $panel = json_decode(implode('', $output), true); +} + +$path_a = !empty($_REQUEST['dir_a']) ? $_REQUEST['dir_a'] : ''; +$path_b = !empty($_REQUEST['dir_b']) ? $_REQUEST['dir_b'] : ''; +$GLOBAL_JS = ''; +$GLOBAL_JS .= ''; +$GLOBAL_JS .= ''; + +// Footer +include($_SERVER['DOCUMENT_ROOT'].'/templates/file_manager/main.php');