Commit bab8b20c authored by Georg Ehrke's avatar Georg Ehrke
Browse files

use ->cmd instead of hardcoded libreoffice

parent f437673f
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment