On 4/25/07, Hans <[EMAIL PROTECTED]> wrote:

Wednesday, April 25, 2007, 6:06:03 PM, Tegan wrote:

> Whoops.  Never mind the never mind - that doesn't work after all. I have

>     if($page == 'Admin.WebAdmin')  $EnablePathInfo = 0;

> That's no good.  What should I have?  Do I need some curly brackets in
there
> or something?

try

     $page = PageVar($pagename, '$FullName');
     if($page == 'Admin.WebAdmin') {
        $EnablePathInfo = 0;
        include_once("$FarmD/cookbook/webadmin.php");
     }


Close enough to get me there - it has to be

    $page = PageVar($pagename, '$FullName');
    if($page == 'Admin.WebAdmin') {
       $EnablePathInfo = 0;
    }
       include_once("$FarmD/cookbook/webadmin.php");

Thanks so much!
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to