[Tickets #4477] NEW: MOTD not working after vhost changes

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Oct 1 23:34:15 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4477
-----------------------------------------------------------------------
 Ticket             | 4477
 Created By         | Ben Chavet <ben at horde.org>
 Summary            | MOTD not working after vhost changes
 Queue              | Horde Base
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


Ben Chavet <ben at horde.org> (2006-10-01 23:34) wrote:

The MOTD defined in config/motd.php has not worked since the vhost changes.
 The problem is that motd.php doesn't actually set a variable, so
Horde::loadConfiguration() interprets what it gets from motd.php as an
error.

My proposed solution is to make motd.php set a variable ($motd ?), and to
echo the results of the Horde::loadConfiguration() call like so:

<?php echo Horde::loadConfiguration('motd.php', 'motd') ?>

If that seems reasonable to others, I will commit it.  Otherwise, we need
to discuss an alternative.  (I miss my login screen customizations via
motd.php)




More information about the bugs mailing list