Skip to content

nursit/favicons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

favicons

Favicons for all!

How to use

It's really easy to use this!

You'll need PHP (5.6+ or 7 is recommended)

By default favicon images are stored in 'cache' directory, but you can change this easily by adjusting the constant at the top of the index.php file.

It's currently set to the same root directory as this code:

$_CACHE_PATH = "cache";

But you can change it to write to somewhere else, e.g.:

$_CACHE_PATH = "../favicon_cache";    // one directory up

Make sure that the cache directory is writable by the web application user, or whoever triggers the execution of the PHP script.

What to call

http://wherever_you_have_hosted_this.com/favicons/?url=https://www.youtube.com

About

Favicons for all!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%