On 16.01.2011 10:40, Andreas Gohr wrote:
1. Initialize $config_cascade as an array() and not as an empty string. 2. Always include the 'inc/config_cascade.php'. So ommit the if(empty) check. 3. In the 'inc/config_cascade.php' simply wrapped the default array with an array_merge(). With these changes one can set only that fields that are really needed in preload.php without having to copy the rest. Additionally it won't break existing installations when adding new fields, as it happened to me right now :-).Can anyone of our farm specialists say anything on this? Anika, Chris? If that's fine for you please apply and push it.
Yup, looks good. I just pushed the change. Anika -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist