mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
c1b736022d
|
@ -167,11 +167,11 @@ class SeedDMS_FulltextService {
|
|||
if($previewer->hasPreview($version)) {
|
||||
$filename = $previewer->getFileName($version).'.txt';
|
||||
$result['content'] = file_get_contents($filename);
|
||||
$result['cmd'] = 'previewer '.$previewer->getFileSize($version);
|
||||
$result['cmd'] = 'text converter '.$previewer->getFileSize($version);
|
||||
}
|
||||
} else {
|
||||
$result['cmd'] = 'previewer';
|
||||
$result['errormsg'] = 'Creating preview failed';
|
||||
$result['cmd'] = 'text converter';
|
||||
$result['errormsg'] = 'Creating plain text failed';
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
|
|
Loading…
Reference in New Issue
Block a user