Made default compile dir not unix specific
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
This commit is contained in:
1 parent
0a42dd4f90
commit
bbabbf9ac1
2 files changed
+5
-1
No files matched your search
@@ -1,5 +1,8 @@
|
|||||||
Revision history for MojoX-Renderer-TT
|
Revision history for MojoX-Renderer-TT
|
||||||
|
|
||||||
|
- Made default compile dir not Unix specific (Viacheslav
|
||||||
|
Tikhanovskii)
|
||||||
|
|
||||||
0.10 November 12, 2008
|
0.10 November 12, 2008
|
||||||
- Update to work with named parameters in new version of Mojo
|
- Update to work with named parameters in new version of Mojo
|
||||||
- Instead of "tx" pass the context in the "c" variable
|
- Instead of "tx" pass the context in the "c" variable
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ use base 'Mojo::Base';
|
|||||||
|
|
||||||
use Template ();
|
use Template ();
|
||||||
use Carp ();
|
use Carp ();
|
||||||
|
use File::Spec ();
|
||||||
|
|
||||||
our $VERSION = '0.10';
|
our $VERSION = '0.10';
|
||||||
|
|
||||||
@@ -32,7 +33,7 @@ sub _init {
|
|||||||
|
|
||||||
my %config = (
|
my %config = (
|
||||||
COMPILE_EXT => '.ttc',
|
COMPILE_EXT => '.ttc',
|
||||||
COMPILE_DIR => ($dir || "/tmp"),
|
COMPILE_DIR => ($dir || File::Spec->tmpdir),
|
||||||
UNICODE => 1,
|
UNICODE => 1,
|
||||||
ENCODING => 'utf-8',
|
ENCODING => 'utf-8',
|
||||||
CACHE_SIZE => 128,
|
CACHE_SIZE => 128,
|
||||||
|
|||||||
Reference in new issue
Block a user