Use PHP constant instead of custom code.