Use "define" instead of "const" in order to use the plugin of php 5.2