[cvs] commit: horde/config registry.php.dist

Marcus I. Ryan marcus at horde.org
Fri Sep 24 12:33:45 PDT 2004


marcus      2004-09-24 12:33:45 PDT

  Modified files:
    config               registry.php.dist 
  Log:
  Improve (performance and accuracy) of webroot auto-detection.
  
  The only case I've found to break it is with horde installed in the
  DOCUMENT_ROOT on a web server that doesn't define DOCUMENT_ROOT for us
  or where we're running from CLI.
  
  Notes: Not tested on Windows, but should work if __FILE__ and DOCUMENT_ROOT
  return the same format(s).  dirname(dirname(__FILE__)) is actually faster
  than a single str_replace, at least on FreeBSD 4.10.
  
  Revision  Changes    Path
  1.239     +5 -9      horde/config/registry.php.dist

  Chora Links:
  http://cvs.horde.org/diff.php/horde/config/registry.php.dist?r1=1.238&r2=1.239&ty=u


More information about the cvs mailing list