diff --git a/README.md b/README.md index ff7457c..ba4249e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,4 @@ See it in use at https://static.netsyms.net and https://dl.netsyms.net * Upload `index.php` to the web root * Upload `htaccess` and rename to `.htaccess` * 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 +* Edit the top of `index.php` to customize with your branding and settings \ No newline at end of file diff --git a/index.php b/index.php index 14c7246..3d0b689 100644 --- a/index.php +++ b/index.php @@ -33,21 +33,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ // Page title -$TITLE = "Netsyms CDN"; +$TITLE = "Untitled Server"; // Big page heading -$H1 = "Netsyms Technologies"; +$H1 = "Download Server"; // Subheading -$H2 = "Static Content Server"; +$H2 = "Browse all the things"; // Header logo -$SITEICON = "https://static.netsyms.net/images/netsyms/logo-flat-512.png"; +$SITEICON = "http://lorempixel.com/300/300/"; // List of filenames to not list $IGNORE = [ - "error", "footer.html", "header.html", - "stats", "index.php", "up.svg", - "robots.txt", "google-font-download" + "index.php", "robots.txt" ]; // Actual path of the wwwroot -$ROOTPATH = "/var/www/clients/client1/web68/web"; +$ROOTPATH = "/var/www/html"; // Fill in to add mirror download links to files $MIRRORBASE = []; @@ -62,13 +60,13 @@ $MIRRORBASE = [ // Bootstrap and optional CSS $STYLESHEETS = [ - "https://static.netsyms.net/bootstrap/4.0.0/bootstrap.materia.min.css" + "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" ]; // FontAwesome 5 locations $FONTAWESOME = [ - "https://static.netsyms.net/fontawesome/5.0/fa-solid.min.js", - "https://static.netsyms.net/fontawesome/5.0/fa-brands.min.js", - "https://static.netsyms.net/fontawesome/5.0/fontawesome.min.js" + "https://use.fontawesome.com/releases/v5.0.9/js/solid.js", + "https://use.fontawesome.com/releases/v5.0.9/js/brands.js", + "https://use.fontawesome.com/releases/v5.0.9/js/fontawesome.js" ]; // Mimetype to FontAwesome conversion table $MIMEICONS = [