[dokuwiki] Re: changelog lost with upgrade

At 17:56 +0000 UTC, on 2007-02-18, Chris Smith wrote:

> Sander Tekelenburg wrote:
>> At 10:01 +0000 UTC, on 2007-02-18, Chris Smith wrote:
>>> Sander Tekelenburg wrote:

[...]

>>>> $conf['target'] = 'array("extern"=>"")',
>>>>
>>> That is a string, not an array.
>>
>> Well, a string containing an array, no? :)
>>
> Only if the string is eval'd.  Its not ;-)

Ah, right :)

> The quotes have been placed around the value by the config manager.

Whoops. I hadn't even noticed that those quotes weren't there in the original
(DW 2005-09-22e) conf/local.php.

> Its
> not clever enough to realise that you have php code that  you wish to be
> executed.  Any such code should now be placed in 'conf/local.protected.php'

Ah, got it! Thanks.

[...]

[target="a"]

> That "a" looks like the first character of "array", which is
> the result of php converting an array to a string.

Ah, yes. That would make sense. Good catch.


Thanks for your help!


-- 
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: