mirror of
				https://github.com/Clortox/SimpleFileRepository.git
				synced 2025-07-17 12:32:12 +00:00 
			
		
		
		
	Add custom Icon Support
This commit is contained in:
		
							parent
							
								
									2b7a9a6dd4
								
							
						
					
					
						commit
						5890a4f2a5
					
				@ -19,6 +19,7 @@
 | 
			
		||||
        include 'helpers/files.php';
 | 
			
		||||
    ?>
 | 
			
		||||
    <title><?php echo $site_name ?></title>
 | 
			
		||||
    <link rel="icon" href="<?php echo $site_image ?>">
 | 
			
		||||
 | 
			
		||||
</head>
 | 
			
		||||
<body style="background-color: black">
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										9
									
								
								resources/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								resources/README.txt
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/cabinet.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.8 KiB  | 
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user