Hi,
Is there a way to detect dev mode or live mode from within the template?
I'm trying to disable Google Analytics (not include JS) when in dev mode. Am I correct in assuming that for this case, it is best (from MVC perspective) to do it at the controller level, not template? Eg.
Director::isDev();
Director::isTest();
Director::isLive();
Thanks.
VWD.