Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

\n wasn't parsed

  • Loading branch information...
commit ca7c80f1ffd10df7c1d441cba1ce2690e66b952a 1 parent 50bd5c0
@skinkie skinkie authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  functions.php
View
3  functions.php
@@ -1,5 +1,4 @@
<?php
- setlocale(LC_ALL,'nl_NL');
require_once('message.php');
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') === false)
header('Content-type: application/xhtml+xml; charset=utf-8');
@@ -289,7 +288,7 @@ function batchrender($dir, $width, $height, $playlist) {
$svgfile = $dir.'/'.$filename.'.svg';
$file = $dir.'/'.$filename.'.png';
- $cmd .= $svgfile.' --export-width='.$width.' --export-height='.$height.' --export-png='.$file.'\n';
+ $cmd .= $svgfile.' --export-width='.$width.' --export-height='.$height.' --export-png='.$file."\n";
}
$cmd .= 'quit';
shell_exec('echo "'.$cmd.'" | /usr/bin/inkscape --shell 2>&1 1>/dev/null');
Please sign in to comment.
Something went wrong with that request. Please try again.