fix path (duck@obala.net, #8008)
authorChuck Hagenbuch <chuck@horde.org>
Wed, 18 Feb 2009 16:14:08 +0000 (11:14 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 18 Feb 2009 16:14:08 +0000 (11:14 -0500)
framework/Mime/lib/Horde/Mime/Viewer/rtf.php

index 7750322..2da5d1f 100644 (file)
@@ -45,7 +45,7 @@ class Horde_Mime_Viewer_rtf extends Horde_Mime_Viewer_Driver
 
         file_put_contents($tmp_rtf, $this->_mimepart->getContents());
 
-        exec($GLOBALS['mime_drivers']['horde']['rtf']['location'] . " $tmp_rtf > $tmp_output");
+        exec($this->_conf['location'] . " $tmp_rtf > $tmp_output");
 
         if (file_exists($tmp_output)) {
             $data = file_get_contents($tmp_output);