Basic detection if mime-features are available, better check on error

situations. See ChangeLog.
This commit is contained in:
Garvin Hicking
2003-02-26 13:02:34 +00:00
parent 1674ca5a43
commit 63c5582cba
13 changed files with 120 additions and 33 deletions

View File

@@ -130,7 +130,7 @@ else
$default_ct = 'application/octet-stream';
if ($cfgRelation['commwork']) {
if ($cfgRelation['commwork'] && $cfgRelation['mimework']) {
$mime_map = PMA_getMime($db, $table);
$mime_options = PMA_transformation_getOptions((isset($mime_map[urldecode($transform_key)]['transformation_options']) ? $mime_map[urldecode($transform_key)]['transformation_options'] : ''));