From 5890a4f2a507c8331f27efd6d4a8b784ebc53d16 Mon Sep 17 00:00:00 2001 From: Clortox Date: Mon, 8 Feb 2021 14:51:46 -0500 Subject: [PATCH] Add custom Icon Support --- index.php | 1 + resources/README.txt | 9 +++++++++ resources/cabinet.png | Bin 0 -> 2896 bytes var/config.php | 3 +++ 4 files changed, 13 insertions(+) create mode 100644 resources/README.txt create mode 100644 resources/cabinet.png diff --git a/index.php b/index.php index 9e30c8c..d5f2fa3 100644 --- a/index.php +++ b/index.php @@ -19,6 +19,7 @@ include 'helpers/files.php'; ?> <?php echo $site_name ?> + diff --git a/resources/README.txt b/resources/README.txt new file mode 100644 index 0000000..e432550 --- /dev/null +++ b/resources/README.txt @@ -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! diff --git a/resources/cabinet.png b/resources/cabinet.png new file mode 100644 index 0000000000000000000000000000000000000000..e6b188032d589e08b64874a1360e0fcb295bd9f4 GIT binary patch literal 2896 zcmc(heN0nV6u=KH5u{Nzai}8(2HW^!sME(L0s~P$r6vz`a zY-tdaWgnMSa3OC0sDOq+2ZaKmihGo0BYzH9Jwzhr0@Piv*g88QG-05`m#R=pW7 z1SyFL@0F+>w|1&tAzz@z8#Kqyz2T>)`tvH9}VkcuPkdRJDTKK-d6^@wW5=f}~4t{5}jF(~})kYUg3U!zT(Td?NG zKg<16i+BC}Z92B-(te<-9@vrlVP)w*(u(iW2k4Q7Mj23qt+L%8AgvyN3h@F+zz?eM z2Jl`B;JX3fxt9S#k^%Ofdy)+odiBP91MR5xc;&SIAYtxqRms=r97xky5D$~ZC&)Tu z^C&jV>P~<9`|*6j*5Y6gKWIko8$Aja$;6B7&4%j|X1~ZjFDFfhqWldTy>v+~6;kAl zcZ?CTljE_&?g2VhD>XHejJ`)9{k}xNhuxRnwZ7e-k}>^Ap>RF_$H*60ViQ5vUwWLZ zGnaYmdhcP^KAnsIqbf{!n9RZl+kXwhst#{}j|bQ5MFGgrdCD?12$B>`-<*snF&C^P-#zoY#4RmX9glP+43I-PcDBA;-{JM6< zws_*GUDn(edYwYcjVv{i1R6Yd=(!xsvEmpR*CjOtOBk`p-i<<`ZK5-p7~HOQ&Gckk znx+>iSBfOv$jToJT)^4si^#2ahP5@OF5#U^mUnr4sVW6=&@?uEYa`Ub3M#|0PkWXdCYrEkuj0aGJHwi4QT7h?^=LCf z=@{lgH;MYpsC<%XL7H}{ zDV$`kiR=UP+)>h$85>~fP!^J%9VLue!k9(&GAy)7O*CyLne%5@XN0;aazw(+_r;F{ znoF#{yR$M%!*of~qr(eYZS#!>+bQ?4Low-|%;Ht~^JBl#?xy abN->VcRuKT=@hQQ04YgniC6aJRQwAuo~$_l literal 0 HcmV?d00001 diff --git a/var/config.php b/var/config.php index 2b46397..4a41301 100644 --- a/var/config.php +++ b/var/config.php @@ -4,6 +4,9 @@ //This is what will appear in the tab, as well as on the header $site_name = 'Tyler\'s File Repository'; + //This will be the image displayed in the tab of the browser + $site_image = "resources/cabinet.png"; + /* Navbar * * Each variable in $nav_names is what will appear on the top bar