On 5/3/2010 3:35 PM, [email protected] wrote:
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?
If it's already 1, then blah will be executed.
If it's already 0, then blah will not be executed.


 ~ ~ Dave

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

Reply via email to