Merge pull request #35 from tophopstop/master
Bug with setting cache_dir to relative path
This commit is contained in:
@@ -34,7 +34,7 @@ sub _init {
|
|||||||
if($dir=$args{cache_dir}) {
|
if($dir=$args{cache_dir}) {
|
||||||
|
|
||||||
if($app && substr($dir,0,1) ne '/') {
|
if($app && substr($dir,0,1) ne '/') {
|
||||||
$dir=$app->home->rel_dir('tmp/ctpl');
|
$dir=$app->home->rel_dir($dir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user