Replies: 1 comment
-
The thing here is that the favicon trick has to fire before YOURLS is loaded (to lighten things) - so no YOURLS stuff (actions, filters) are available at this time Maybe just symlink a root /favicon.ico to the one in user/ ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know about and I have added my favicon to the /user directory. That works but I want to change the chain-link favicon that is displayed when a non-existant short URL is used by a visitor.
Below is the relevant code that is responsible for displaying a favicon:
yourls-loader.php (lines 2-8):
I'm trying to avoid core file mods. Is there a hook or a constant that can be used to replace this code so that I can specify a custom favicon or use the same favicon that I have in the /user folder?
Beta Was this translation helpful? Give feedback.
All reactions