Resolved problem with naming of constants

Resolved problem with naming of constants.
Compatible to php 5.3