cedriclombardot/TwigGenerator — pull request #10 by vworldat (2012-04-04 10:00:42+00:00)
Title: Make tempDir configurable

I think using sys_get_temp_dir() as temporary directory is a really bad idea, since it breaks when using open_basedir or otherwise strict file access and can lead to collisions when several projects with similar template names are sharing a server.

After this patch is included the next step would be setting the same option in the AdmingeneratorGeneratorBundle to use the Sf2 cache dir.