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

Jan Schneider jan at horde.org
Sun Feb 29 01:24:38 PST 2004


Zitat von Marko Djukic <mdjukic at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> jan         2004/02/25 15:48:01 PST
>>
>>   Modified files:
>>     Horde/Horde          Config.php
>>   Log:
>>   Create empty array() entries for all configsections.
>
> i think this is a problem. now if i configure an app which has a
> $conf['menu']['apps'] array, Horde_Config sticks a $conf['menu'] = 
> array() line
> before it, and thus overwrites all of the $conf['menu'] elements from Horde's
> conf.php file (menu display, menu always).

Yeah, that's bad. So, how to solve the $conf[...]['params'] problem? Simply
using '@' to silence all calls to this eventually not defined array?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list