intro text bug

peter@jingo.com peter@jingo.com
Thu, 14 Jun 2001 11:44:17 +0100


I've come across what I believe to be a bug and a solution with the intro
text:

The bug:
Chora doesn't find the introductory text (optional 'intro' in cvsroots.php).

The intro text file is looked for by chora/lib/base.php on line 61:
$conf['paths']['introText'] =
dirname(__FILE__).'/config/'.@$cvsrootopts['intro'];

The trouble is that this creates the path:
chora/lib/config/intro.txt
The lib directory shouldn't be there.

The solution:
$conf['paths']['introText'] = CHORA_BASE .
'/config/'.@$cvsrootopts['intro'];


Peter Clarke