[horde] Little change for Windows Compatibility

Jan Schneider jan at horde.org
Wed Jul 19 15:20:10 PDT 2006


Zitat von frank at sagurna.de:

> Cause i had the Problem with slashes/backslashes i have an idea to   
> get better Compatibility with windows based webserver.
> Changing one line is the only thing needs to be done:
>
> horde/config/registry.conf
>
> change line 51:
>     $webroot = strstr(dirname(__FILE__), '/' . array_shift($webroot));
>
> to:
>     $webroot = strstr(str_replace("\\","/",dirname(__FILE__)), '/' .  
>  array_shift($webroot));

Nice idea, I committed something similar.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the horde mailing list