3 Commits

Author SHA1 Message Date
Luc Didry
36a007d2f7 Bump version (0.10.2) 2018-04-24 18:39:28 +02:00
Luc Didry
f013359314 Fix Zip files creation 2018-04-24 18:37:51 +02:00
Luc Didry
1fda560056 Fix #73 bug on theme creation 2018-04-15 13:39:33 +02:00
3 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
Revision history for Lutim
0.10.2 2018-04-24
- Fix bug on zip file creation
0.10.1 2018-04-15
- Fix bug on theme creation (#73)
0.10.0 2018-04-07
- PostgreSQL performance improvments
- Move some tasks to recurring instead of being in after_dispatch hook

View File

@@ -41,14 +41,14 @@ use Locale::Maketext::Lexicon {
_style => 'gettext',
'*' => [
Gettext => dirname(__FILE__) . '/I18N/*.po',
Gettext => $app_dir . 'themes/default/lib/Lutim/I18N/*.po',
Gettext => \$app_dir . 'themes/default/lib/Lutim/I18N/*.po',
]
};
use vars qw($app_dir);
use vars qw(\$app_dir);
BEGIN {
use Cwd;
my $app_dir = getcwd;
my \$app_dir = getcwd;
}
1;

View File

@@ -724,7 +724,7 @@ sub zip {
}
if ($key) {
$zip->addString($c->decrypt($key, $path)->slurp, "images/$filename");
$zip->addString($c->decrypt($key, $path), "images/$filename");
} else {
$zip->addFile($path, "images/$filename");
}