Pascal Gloor hace 5 años
padre
commit
57741ce288
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4
    2
      cgi/autodoc.fcgi

+ 4
- 2
cgi/autodoc.fcgi Ver fichero

@@ -274,11 +274,13 @@ sub gen_error_img {
my $dst = sprintf("%s/error_img-%s%s.jpeg", $conf->{path}{cache}, $wh, $size);

if ( ! -r $dst ) {
system(sprintf("convert %s -resize %s%s %s",
my $cmd = sprintf("convert %s -resize %s%s %s",
$src,
$wh eq 'h' ? 'x' : '',
$size,
$dst));
$dst);
print STDERR "IMG: $cmd\n";
system($cmd);
}

}

Cargando…
Cancelar
Guardar