[Systems] wiki LocalSettings.php gremlins

Frederick Grose fgrose at gmail.com
Thu Apr 21 12:13:04 EDT 2011


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.

Perhaps from some environment change?


> I wonder why it helps... $IP should be always initialized to the
> installation prefix of MediaWiki.
>
> But anyway, thanks for fixing this.
>
> --
>  _ // Bernie Innocenti
>  \X/  http://codewiz.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/private/systems/attachments/20110421/57736c52/attachment.html>


More information about the Systems mailing list