In Privilege Manager 6 and using a rule hash, rule expiry dates are are not working while they worked in previous versions.
原因
This problem was caused by the atoi() function they were using. This function returns 0 if the string has a leading zero, so the fn_validate_expiry_date() does not work correctly if the day or month are specified with a leading zero.
解决办法
To correct this ensure that the day and month in the expiry dates in the rule.hash file do not have any leading zeros.