From aa02968e0a2d3ff329ed21b7ace5377a396fa198 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 4 Apr 2018 18:08:49 -0600 Subject: [PATCH] Add license header to index.php, improve line lengths --- README.md | 1 + index.php | 45 ++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1df9871..ff7457c 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,5 @@ See it in use at https://static.netsyms.net and https://dl.netsyms.net * For non-Apache, configure your server to serve /index.php for all subfolders * Edit the top of `index.php` to customize with your branding * Edit the list of ignored filenames + * Add any mirror URLs you have * (Recommended) Change the CDN URLs for Bootstrap and FontAwesome to your CDN of choice diff --git a/index.php b/index.php index b9ece38..b56d055 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,37 @@ \n"; if (count($MIRRORBASE) > 0 && !is_dir($dir . "/" . $f)) { - echo "\n"; - echo "\t Main\n"; + echo "\n"; + echo "\t" + . "" + . " Main\n"; foreach ($MIRRORBASE as $mirror) { $name = $mirror["name"]; $base = $mirror["base"]; - echo "\t $name\n"; + echo "\t" + . "" + . " $name\n"; } echo ""; }