Style seems to have disappeared on update / fresh install

@conor71 See this earlier topic for a similar problem with the theme not being applied after an upgrade CSS/Theme support broken after upgrade

The cause of that problem was a php function had been disabled. See the last couple of comments for a code change that fixes that particular problem.