[pmwiki-users] Please explain the IsEnabled function
pmwiki at 911networks.com
pmwiki at 911networks.com
Mon May 3 14:35:03 CDT 2010
As you can see, I'm not a php expert. Can somebody explain to me the
following:
Begin quote:
IsEnabled($var, $flag)
Returns the value of $var if it is set; otherwise it returns
$flag (i.e., a default value). Thus, IsEnabled($var, 0) returns
false if $var is false or is not set
End quote
Now in robots.php:
Begin quote:
if (IsEnabled($EnableRobotCloakActions, 0 )) {
blah blah
End quote
If $EnableRobotCloakActions is set to 1, the blah blah should not
be executed?
Thanks
--
Thanks
More information about the pmwiki-users
mailing list