bugfix for the snippets plugin as it would 'steal' the smarty directory, that was previously set