[Pmwiki-users] Images after edit problem solved but still a mystery
Patrick R. Michaud
pmichaud at pobox.com
Mon Jun 16 22:57:26 CDT 2003
On Mon, Jun 16, 2003 at 12:25:53PM -0400, Ross Kowalski wrote:
> If you key in the URL
> you see the images.
> If you go to this URL
> you won't see the imaes.
> even though I have the following variables set in the local.
> $DefaultGroup = "Main";
> $DefaultTitle = "WelcomePage";
> Any thoughts???
It's an oddity in the sequence in which pmwiki processes pagenames.
Try adding a line like:
if ($pagename=='') $pagename="$DefaultGroup.$DefaultTitle";
into your local.php to explicitly set the pagename if there isn't
one specified in the URL.
More information about the pmwiki-users