N
N
NikSIk312020-04-20 11:11:38
Laravel
NikSIk31, 2020-04-20 11:11:38

Laravel filamanager 2.0?

laravel filamanager 2.0
I don't understand what needs to be changed so that when the lessons directory is opened, a new folder with the name "1" is not created
// I don't see the docks for the second version of lfm .. can you tell me something?

'folder_categories'        => [
        'file'  => [
            'folder_name'  => 'files',
            'startup_view' => 'grid',
            'max_size'     => 50000, // size in KB
            'valid_mime'   => [
                'image/jpeg',
                'image/pjpeg',
                'image/png',
                'image/gif',
                'image/svg+xml',
            ],
        ],
       'lesson' => [
            'folder_name'  => 'lessons1',
            'startup_view' => 'list',
            'max_size'     => 50000, // size in KB
            'valid_mime'   => [
                'image/jpeg',
                'image/pjpeg',
                'image/png',
                'image/gif',
                'image/svg+xml',
                'application/pdf',
                'text/plain',
            ]
        ]
    ],

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question