use ->cmd instead of hardcoded libreoffice

This commit is contained in:
Georg Ehrke 2013-06-05 11:06:36 +02:00
parent f437673f1a
commit bab8b20cbd
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if (extension_loaded('imagick')) {
chdir(get_temp_dir());
$exec = 'libreoffice --headless -convert-to pdf ' . escapeshellarg($abspath);
$exec = $this->cmd . ' --headless -convert-to pdf ' . escapeshellarg($abspath);
exec($exec)
//create imagick object from pdf