[dokuwiki] Re: Core devs: I need some info to keep my templates maintainable

  • From: "Don Bowman" <don@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 11 Feb 2011 18:14:33 -0000

On Thu, 10 Feb 2011 22:17:18 -0000, Andreas Haerter <list+dokuwiki@xxxxxxxxxxxxxxxxxxx> wrote:


See <http://bugs.php.net/bug.php?id=49692>: "When parsing ini files if
the key contains a '/' char a syntax error is thrown." -> This means,
the ini-values won't be read on PHP 5.3.0. This was fixed in 5.3.1.

Example:
<https://github.com/andreashaerter/dokuwiki-template-vector/blob/master/style.ini>
-> This ini leads to empty array values on PHP 5.3.0.
I created a workaround.... if there is no "style.ini", my templates are
using an own file as CSS provider: See
<https://github.com/andreashaerter/dokuwiki-template-vector/blob/master/bug49642.php>
and
<https://github.com/andreashaerter/dokuwiki-template-vector/blob/master/main.php#L431>.

I take it then that this technique is only necessary if someone is stuck with PHP 5.3.0 and can not change.


--
Don

The views expressed are mine alone,
unless, of course, you agree with me.

But then again, I could be wrong ...
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: