updated mediable package
This commit is contained in:
@@ -6,7 +6,12 @@ return [
|
||||
*
|
||||
* Should extend `Plank\Mediable\Media`
|
||||
*/
|
||||
'model' => env('MEDIABLE_MODEL', 'Plank\Mediable\Media'),
|
||||
'model' => env('MEDIABLE_MODEL', App\Models\Common\Media::class),
|
||||
|
||||
/*
|
||||
* Name to be used for mediables joining table
|
||||
*/
|
||||
'mediables_table' => env('MEDIABLE_TABLE', 'mediables'),
|
||||
|
||||
/*
|
||||
* Filesystem disk to use if none is specified
|
||||
@@ -151,7 +156,7 @@ return [
|
||||
'text/json',
|
||||
'application/json',
|
||||
'application/msword',
|
||||
'application/application/vnd.openxmlformats-officedocument.wordprocessingml.document'
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
|
||||
],
|
||||
'extensions' => [
|
||||
'doc',
|
||||
@@ -174,17 +179,17 @@ return [
|
||||
],
|
||||
Plank\Mediable\Media::TYPE_PRESENTATION => [
|
||||
'mime_types' =>
|
||||
[
|
||||
'application/vnd.ms-powerpoint',
|
||||
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||
'application/vnd.openxmlformats-officedocument.presentationml.slideshow'
|
||||
],
|
||||
[
|
||||
'application/vnd.ms-powerpoint',
|
||||
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||
'application/vnd.openxmlformats-officedocument.presentationml.slideshow'
|
||||
],
|
||||
'extensions' =>
|
||||
[
|
||||
'ppt',
|
||||
'pptx',
|
||||
'ppsx',
|
||||
]
|
||||
[
|
||||
'ppt',
|
||||
'pptx',
|
||||
'ppsx',
|
||||
]
|
||||
],
|
||||
],
|
||||
|
||||
@@ -202,7 +207,7 @@ return [
|
||||
'pattern' => [
|
||||
'^https?://' => Plank\Mediable\SourceAdapters\RemoteUrlAdapter::class,
|
||||
'^/' => Plank\Mediable\SourceAdapters\LocalPathAdapter::class,
|
||||
'^[a-zA-Z]:\\' => Plank\Mediable\SourceAdapters\LocalPathAdapter::class
|
||||
'^[a-zA-Z]:\\\\' => Plank\Mediable\SourceAdapters\LocalPathAdapter::class
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user