[pmwiki-users] quick php question
Hans
design5 at softflow.co.uk
Wed Apr 25 12:11:18 CDT 2007
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");
}
~Hans
More information about the pmwiki-users
mailing list