Fix some documentations and use the $max-var instead of the magic-number in validate_config_vars. PHPBB3-9823