Skip to content

2.2.39

Latest

Choose a tag to compare

@rhukster rhukster released this 05 Dec 18:13
54c28ae

Bugfix

  • config.environment (and $grav['setup']->environment) is the host name again on a site with no user/env/<host> folder. Since 2.2.18 it was an internal cache name such as @33e80688, which broke templates and plugins that check the host to tell production from staging, for example to load analytics only on the live site. Hosts without an environment folder still share one set of compiled cache files, now named by the new Setup::cacheKey()