[imp] pdf mime type
G G Papazoglou
grp at med.uoc.gr
Fri Feb 7 12:03:31 PST 2003
Hi to all.
I've been experimenting trying to enable pdf viewing support in imp, using
pdftohtml 0.34. So I have added the respective entry in
config/mime_drivers.php:
$mime_drivers_map['horde']['registered'] = array(
'php', 'tgz', 'vcard', 'enriched', 'msword', 'msexcel','pdf'
$mime_drivers['horde']['pdf']['location'] = '/usr/local/bin/pdftohtml';
$mime_drivers['horde']['pdf']['inline'] = true;
$mime_drivers['horde']['pdf']['handles'] = array(
'application/pdf',
'x-extension/pdf');
$mime_drivers['horde']['pdf']['icons'] = array(
'default' => 'pdf.gif');
and of course pdftohtml works properly. However when trying from inside imp,
I get a window with the following error:
Fatal error: Call to a member function on a non-object in
/usr/local/apache/htdocs/horde/imp/view.php on line 77
Any ideas please?
Regards,
Greg
More information about the imp
mailing list