[pmwiki-users] $ScriptURL not being found/honored?

Patrick R. Michaud pmichaud at pobox.com
Sun Oct 15 09:48:29 CDT 2006


On Sat, Oct 14, 2006 at 01:29:45PM -0800, Joshua J. Kugler wrote:
> In my local/config.php, I have this:
> $ScriptUrl = 'http://wiki.mysite.com';
> 
> Later, I have:
> $Skin = 'beeblebrox';
> 
> And the skin works.
> 
> In skin.php, there is this line:
> SDV($PageLogoFmt,"<a href='$ScriptUrl'>$html_title</a><br />
>   <span id='tag'>$LogoTagline</span>");

There probably ought to be a backslash before the $ScriptUrl here:

  SDV($PageLogoFmt,"<a href='\$ScriptUrl'>$html_title</a><br />
    <span id='tag'>$LogoTagline</span>");

Either that, or the skin.php file needs to be declaring

  global $ScriptUrl;

Pm




More information about the pmwiki-users mailing list