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

Joshua J. Kugler joshua at eeinternet.com
Mon Oct 16 17:42:03 CDT 2006


On Sunday 15 October 2006 06:48, Patrick R. Michaud wrote:
> 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;

I declared $ScriptUrl global in farmconfig.php, and added the back slash in 
the SDV call.  Seems to fix it.  Also, there was a case issue as pointed out 
by Henrick Benchmann.

Thanks all!

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111




More information about the pmwiki-users mailing list