mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
update
This commit is contained in:
parent
7f52d076e6
commit
9e6238a312
|
|
@ -414,6 +414,7 @@ final class ApiController extends Controller
|
|||
$media->setPassword($password);
|
||||
$media->isEncrypted = $isEncrypted;
|
||||
|
||||
// Store text from document in DB for later use e.g. full text search (uses OCR, text extraction etc. if necessary)
|
||||
if ($readContent && \is_file($media->getAbsolutePath())) {
|
||||
$content = self::loadFileContent($media->getAbsolutePath(), $media->extension);
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class Collection extends Media implements \Iterator
|
|||
* @var array<int, Media>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $sources = [];
|
||||
public array $sources = [];
|
||||
|
||||
/**
|
||||
* Extension name.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user