[SAC] Re: [OSGeo] #174: View php source code in trac repository browser

OSGeo trac_osgeo at osgeo.org
Tue Nov 27 18:01:28 EST 2007


#174: View php source code in trac repository browser
----------------------+-----------------------------------------------------
  Reporter:  mschulz  |       Owner:  sac at lists.osgeo.org
      Type:  task     |      Status:  new                
  Priority:  normal   |   Component:  SAC                
Resolution:           |    Keywords:                     
----------------------+-----------------------------------------------------
Comment (by jbirch):

 Trac contains a PHP syntax highlighter; it would be nice to be able to use
 it:

 http://trac.edgewall.org/browser/tags/trac-0.10.4/trac/mimeview/php.py

 For this to work, I believe (from reading a couple tickets) that you have
 to set the path to the php CLI (or for older builds the php CGI with a
 "-q" switch) in the trac.ini file:

 [mimeviewer]
 php_path = /path/to/php

 If this works, I'd love to see the same change made to the MapGuide Trac.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/174#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list