PHP script to work with Apache mod_dir and generate nice directory indexes with Bootstrap 3