index.php를 아래와 같이 설정해주면 된다. 디버깅 작업시 일일이 파일경로를 입력하지 않아도 되어 유용하다.
PHP - how to get most recent file from directory AND subdirectories
I have used the following script to correctly display ALL files from the selected directory and its sub-directories. Does anyone know how to modify this code only echo the most recent file across the
stackoverflow.com