Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

# Local server directory listing

Just a script to "beautify" your local server.
Just a script to "beautify" your local server
and support to admin your project.

##Installation
to install drop index.php to the root of your local server.
you'll also need the [Ubuntu Condensed](http://font.ubuntu.com/) font.

##Disclaimer
i don't recommend using this on your web server as it is vulnerable to attacks. this is intended for local use only.
browser support was not a concern while writing this so it'll only work in modern browsers.
browser support was not a concern while writing this so it'll only work in modern browsers.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<?php
// open current directory
$rootDir = opendir(".");
$dirArray = [];
$dirArray = array();
// get each entry
while($element = readdir($rootDir)) {
// exclude files and hidden folders
Expand Down