Free PHP File Directory Script

This is a free file directory listing script written in PHP by Hal Gatewood.
Installation:
Load the index.php to your desired directory. The index.php file should contain the content from file index.php.1.9.txt below.

Updated: 1.9: Icons as data, download attribute, ignore empty folders option
Updated: 1.8: Font clean up, footer link added for support.
Updated: 1.7: Added extra check provided from Ferenc Kruzslicz to check for items. Flat icons.
Updated: 1.6: MIT License. Wrong folder date. Code cleanup.
Updated: 1.5: Show sub folders, Responsive, & Sort by Date or Names of Files.
Updated: 1.4: List directories first
Updated: 1.3: List Alphabetically, icons hosted in dropbox, dynamic meta title and h1
Updated: 1.2: Now shows filesize.

 
File Testing
Size: 4kb
Last modified: Tue. February 9th, 2016 - 07:50pm
 
a.txt
Size: 11b
Last modified: Mon. July 14th, 2014 - 06:31pm
 
flat.png
Size: 22.92kb
Last modified: Tue. February 9th, 2016 - 07:57pm
 
flat.psd
Size: 238.87kb
Last modified: Wed. February 10th, 2016 - 05:21pm
 
hg.txt
Size: 12b
Last modified: Mon. July 14th, 2014 - 06:31pm
 
icons.png
Size: 50.91kb
Last modified: Wed. February 12th, 2014 - 09:10pm
 
icons.psd
Size: 214.16kb
Last modified: Wed. February 12th, 2014 - 09:10pm
 
index.php.1.1.txt
Size: 3.41kb
Last modified: Mon. December 28th, 2015 - 06:09pm
 
index.php.1.2.txt
Size: 3.8kb
Last modified: Mon. December 28th, 2015 - 06:09pm
 
index.php.1.3.txt
Size: 4.2kb
Last modified: Mon. December 28th, 2015 - 06:09pm
 
index.php.1.4.txt
Size: 4.83kb
Last modified: Mon. December 28th, 2015 - 06:08pm
 
index.php.1.5.txt
Size: 7.05kb
Last modified: Mon. December 28th, 2015 - 06:08pm
 
index.php.1.6.txt
Size: 8.06kb
Last modified: Thu. January 28th, 2016 - 05:23pm
 
index.php.1.7.txt
Size: 8.09kb
Last modified: Tue. February 9th, 2016 - 07:44pm
 
index.php.1.8.txt
Size: 8.25kb
Last modified: Tue. June 28th, 2016 - 06:04am
 
index.php.1.9.txt
Size: 39.61kb
Last modified: Tue. September 6th, 2016 - 05:50am
 
testing.php
Size: 6.92kb
Last modified: Sun. April 6th, 2014 - 06:58am
 
z.txt
Size: 11b
Last modified: Mon. July 14th, 2014 - 06:31pm
Free PHP File Directory Script (Contribute on GitHub)