fixed automatically determine and set the PYRO_ENV variable

	modified:   .htaccess
Merge branch '2.2/develop' of github.com:kdeng/pyrocms into 2.2/develop

Conflicts:
	.htaccess