[Systems] wiki LocalSettings.php gremlins

Frederick Grose fgrose at gmail.com
Thu Apr 21 12:37:10 EDT 2011


On Thu, Apr 21, 2011 at 12:26 PM, Bernie Innocenti <bernie at sugarlabs.org>wrote:

> On Thu, 2011-04-21 at 12:13 -0400, Frederick Grose wrote:
> > On Thu, Apr 21, 2011 at 11:56 AM, Bernie Innocenti
> > <bernie at codewiz.org> wrote:
> >
> >         On Thu, 2011-04-21 at 11:51 -0400, Frederick Grose wrote:
> >         > {...}
> >         > -include_once('$IP/extensions/CheckUser/CheckUser.php');
> >         > +# 21 April 2011 fgrose: updated to remove '$IP/' prefix
> >         > +include_once('extensions/CheckUser/CheckUser.php');
> >         >
> >         >  # bernie: also help fight vandals
> >         >  include_once('includes/DatabaseFunctions.php');
> >         >
> >
>  include_once("$IP/extensions/bad-behavior/bad-behavior-mediawiki.php");
> >
> >
> > The single vs. double quoting suddenly prevented resolution of the $IP
> > variable.
>
> Ah yes, that's it! Like with Bash and Perl, string interpolation in PHP
> is enabled only on double-quoted strings.
> --
> Bernie Innocenti
>

But, the mystery is what recent environment change triggered the change in
behavior?

> Perhaps from some environment change?

        --Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/private/systems/attachments/20110421/3faeb999/attachment.html>


More information about the Systems mailing list