Remove Netsyms branding, point CSS/JS to public CDNs
This commit is contained in:
parent
7f1060b9f8
commit
ae10fadc9b
@ -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 `index.php` to the web root
|
||||||
* Upload `htaccess` and rename to `.htaccess`
|
* Upload `htaccess` and rename to `.htaccess`
|
||||||
* For non-Apache, configure your server to serve /index.php for all subfolders
|
* 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 top of `index.php` to customize with your branding and settings
|
||||||
* 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
|
|
22
index.php
22
index.php
@ -33,21 +33,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Page title
|
// Page title
|
||||||
$TITLE = "Netsyms CDN";
|
$TITLE = "Untitled Server";
|
||||||
// Big page heading
|
// Big page heading
|
||||||
$H1 = "Netsyms Technologies";
|
$H1 = "Download Server";
|
||||||
// Subheading
|
// Subheading
|
||||||
$H2 = "Static Content Server";
|
$H2 = "Browse all the things";
|
||||||
// Header logo
|
// 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
|
// List of filenames to not list
|
||||||
$IGNORE = [
|
$IGNORE = [
|
||||||
"error", "footer.html", "header.html",
|
"index.php", "robots.txt"
|
||||||
"stats", "index.php", "up.svg",
|
|
||||||
"robots.txt", "google-font-download"
|
|
||||||
];
|
];
|
||||||
// Actual path of the wwwroot
|
// 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
|
// Fill in to add mirror download links to files
|
||||||
$MIRRORBASE = [];
|
$MIRRORBASE = [];
|
||||||
@ -62,13 +60,13 @@ $MIRRORBASE = [
|
|||||||
|
|
||||||
// Bootstrap and optional CSS
|
// Bootstrap and optional CSS
|
||||||
$STYLESHEETS = [
|
$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 5 locations
|
||||||
$FONTAWESOME = [
|
$FONTAWESOME = [
|
||||||
"https://static.netsyms.net/fontawesome/5.0/fa-solid.min.js",
|
"https://use.fontawesome.com/releases/v5.0.9/js/solid.js",
|
||||||
"https://static.netsyms.net/fontawesome/5.0/fa-brands.min.js",
|
"https://use.fontawesome.com/releases/v5.0.9/js/brands.js",
|
||||||
"https://static.netsyms.net/fontawesome/5.0/fontawesome.min.js"
|
"https://use.fontawesome.com/releases/v5.0.9/js/fontawesome.js"
|
||||||
];
|
];
|
||||||
// Mimetype to FontAwesome conversion table
|
// Mimetype to FontAwesome conversion table
|
||||||
$MIMEICONS = [
|
$MIMEICONS = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user