Environment detector for Nette