[dev] Re: [cvs] commit: framework/Horde/Horde Config.php

Jon Parise jon at horde.org
Sun Feb 29 11:57:42 PST 2004


On Sun, Feb 29, 2004 at 05:30:10AM -0800, Jan Schneider wrote:

> jan         2004/02/29 05:30:10 PST
> 
>   Modified files:
>     Horde/Horde          Config.php 
>   Log:
>   Allow manual configuration lines outside the generated code that is not being
>   overwritten by the setup script.
   
Neat.  That should let us preserve blocks of logic in the conf.php
file, such as:

    if (($_SERVER['SERVER_NAME'] == 'coyote.horde.org') ||
        ($_SERVER['SERVER_NAME'] == 'dev.horde.org')) {
        $conf['cookie']['path'] = '/horde';
    } else {
        $conf['cookie']['path'] = '/';
    }

-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the dev mailing list