[horde] Again: motd not displayed

Michael M Slusarz slusarz at horde.org
Tue Sep 9 14:48:34 UTC 2014


Quoting A. Schulze <sca at andreasschulze.de>:

> Maciej Uhlig:
>
>> Jan Schneider - 2013-03-14 11:21:
>>> From the top of motd.php:
>>>
>>> * Local overrides MUST be placed in motd.local.php or motd.d/.
>>>
>>
>> Actually the newest Horde doesn't show content of all the motd files;
>> instead only main motd.php and ONE of the other files are shown. In case
>> motd.local.php exists, content of files in motd.d directories isn't
>> shown at all. In case motd.local.php doesn't exist, only the last .php
>> file from motd.d directories is shown.
>>
>> Looks like output buffering doesn't work correctly, what could be a
>> reason of this?
>
>
> Hello,
>
> since months I have files /horde/config/motd-vhostname.php  
> containing plain HTML.
> These files are untouched since February.
> Now the aren't displayed anymore But I'm sure the were visible some time ago.

Plain HTML is not the correct MOTD config format.  See  
config/motd.php: MOTD files require that the output data be stored in  
a variable named $motd in those files.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list