6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13110] not all motd files are shown on login page
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ,.__ . .\ / \ / \./ | \|__| >< \/ | |__/| |/ \
Comment
> Imagine you've prepared, besides motd.php, motd.local.php and some > motd.d/* files. Only last of these local files is shown on login page > due to a flaw in loadConfiguration() of Horde.php. Namely, line 357: > > $output = self::endBuffer(); > > inside while loop overwrites $output at every iteration. So, the > output contains last file content only. > > The solution woul be to add line: > > $output = ''; > > befole while loop (line 349) and change line 357 to: > > $output = $output . self::endBuffer(); > > After this fix all the motd files content is shown as intended. > > Of course an additional effect of this flaw is inability of using > more than one of other configuration files, however I haven't tested > it becaues it looks like obvious behaviour.
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