Преглед на файлове

Remove Netsyms branding, point CSS/JS to public CDNs

master
Skylar Ittner преди 1 година
родител
ревизия
ae10fadc9b
променени са 2 файла, в които са добавени 11 реда и са изтрити 16 реда
  1. 1
    4
      README.md
  2. 10
    12
      index.php

+ 1
- 4
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

+ 10
- 12
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 = [

Loading…
Отказ
Запис