I somehow heard well that I have one class with all your application constants, so you only have one location with all your constants.
I tried to do it as follows:
class constants{
define("EH_MAILER",1);
}
and
class constants{
const EH_MAILER =1;
}
But in both cases this does not work. Any suggestions?
source
share