Verifique se a constante é definida PHP
// you can check their existence by using the defined() function
if (defined('VAR_NAME')) {
// Something
}
Easy Earthworm
// you can check their existence by using the defined() function
if (defined('VAR_NAME')) {
// Something
}