6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/3/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9504] Horde is always including favicon from default theme
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. .. .. . | || |\ /|__||_/ |/\||/\| \/ | || \
Comment
> Cache themes is false, and i also turned off any cache. > I have the silver theme defined, which has the new horde favicon, but > on the Horde login screen (and everywhere else) i keep getting the > default (old) favicon. > I already checked that the silver/graphics/favicon.png exists and is > web-accessible, so the problem is not that either. > > Following the script logic, when i get to > Horde_Themes_Cache::get() i have $mask = 1010 (binary) that comes > from (Horde_Themes_Cache::APP_DEFAULT | > Horde_Themes_Cache::APP_THEME).. > > Then this line $entry = $this->_get($item) is making $entry = 101, > because the call to _get() finds the graphics/favicon.png for horde > default theme (Horde_Themes_Cache::HORDE_DEFAULT) and for silver > theme (Horde_Themes_Cache::HORDE_THEME), but then, it won't continue, > because current app on login page is 'horde', which makes sense, > because we already saw that favicon is present on horde silver > theme...but then, the $entry 2nd and 4th bit will always be 0, so > > getting back to Horde_Themes_Cache::get() we will find that '$entry > &= $mask;' is equal to 101 & 1010 which will make $entry = 0, making > it fail on all if sentences that follow.. > > Sorry to explain with code, but couldn't find a better way to explain > how its working over here :-)
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers