small addition

Ilya mail at krel.org
Sat May 5 20:18:18 PDT 2001


after login to horde, i am met by a dull empty screen... no more ;)
change index.php to add this line:
system("/bin/sh fortune.sh");
and put fortune.sh to your horde directory:
#!/bin/sh
fortune=$(/usr/games/fortune -e all|sed 's/\"/\\\"/g')
echo "<?php print(\"<br><br><br><br><center><font size=5
color=\\\"white\\\"> $fortune </font></center>\"); ?>"
>/usr/local/www/horde/config/motd.php

changing the paths of course ;)


PS finally i made some contribution ;)





More information about the horde mailing list