Add custom Icon Support

This commit is contained in:
Clortox 2021-02-08 14:51:46 -05:00
parent 2b7a9a6dd4
commit 5890a4f2a5
4 changed files with 13 additions and 0 deletions

View File

@ -19,6 +19,7 @@
include 'helpers/files.php'; include 'helpers/files.php';
?> ?>
<title><?php echo $site_name ?></title> <title><?php echo $site_name ?></title>
<link rel="icon" href="<?php echo $site_image ?>">
</head> </head>
<body style="background-color: black"> <body style="background-color: black">

9
resources/README.txt Normal file
View File

@ -0,0 +1,9 @@
Tyler Perkins
2-8-21
The provided cabinet.png is from
https://www.iconfinder.com/iconsets/essential-web-1-1
This is a great resource to find icons in general. All you have to do is add it here and
change your config.php to point to your new icon.
Be sure to read license files before you use things!

BIN
resources/cabinet.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -4,6 +4,9 @@
//This is what will appear in the tab, as well as on the header //This is what will appear in the tab, as well as on the header
$site_name = 'Tyler\'s File Repository'; $site_name = 'Tyler\'s File Repository';
//This will be the image displayed in the tab of the browser
$site_image = "resources/cabinet.png";
/* Navbar /* Navbar
* *
* Each variable in $nav_names is what will appear on the top bar * Each variable in $nav_names is what will appear on the top bar