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

Stirling Westrup sti at pooq.com
Sun Oct 15 00:10:36 CDT 2006


Joshua J. Kugler wrote:
> OK, more info on the glitch I'm encountering.  This is really strange, even 
> for someone not fully acquainted with PHP.
> 
> In my local/config.php, I have:
> 
> $ScriptUrl = 'http://my.host.com';
> <snip>
> $PageLogoFmt = "<a href='$ScriptURL'>Title</a><br/><span 
> id='tag'>$LogoTagline</span>";
> 
> So, $ScriptURL is defined.  But when that template is rendered, the a href is 
> still ''.  And yes, I've message with the title of this version, so I know it 
> is using the $PageLogoFmt in config.php and not in skin.php.
> 
> I'm at a loss.  What incredibly easy thing am I missing?
> 
The two versions of the name are spelled differently. The correct one is
 "$ScriptUrl", not "$ScriptURL"






More information about the pmwiki-users mailing list