[chora] cvsusers

Jan Schneider jan@horde.org
Wed, 6 Feb 2002 11:36:29 +0100


Zitat von Joakim Ryden <jo@our-own.net>:

> On Wed, 2002-02-06 at 01:15, Jan Schneider wrote:
> > Zitat von Joakim Ryden <jo@our-own.net>:
> > 
> > > since i'm causing so much noise on the list tonight i might as well
> ask
> > > this question too. any simple way i have overlooked of having chora
> spit
> > > out syntax highlighted text when viewing perl scripts, python
> scripts
> > > etc?
> > 
> > You need to enable the encript mime driver in mime_drivers.php.
> 
> thanks jan - are there some notes for doing that somewhere (other than
> the ones in the mime_drivers.php file itself, i'm afraid i didn't quite
> grok those...)? i assume these two lines need to be changed/added to?
> 
> $mime_drivers_map['chora']['registered'] = array('text');
> $mime_drivers['chora']['text']['handles'] = array(
>         'text/plain');

No, the enscript driver is already defined in horde/config/mime_driver.php. 
Depending on what version of Horde you use you must uncomment the lines 
containing the enscript driver and/or enter the correct location of the 
enscript executable.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft