v2.3.0
In new version you can set default disk and default path
You have two variants for how to do it:
- Add this params to the config file (config/file-manager.php)
2 Or you can add this params in URL
http://site.name/?leftDisk=diskName&leftPath=directory
http://site.name/?leftDisk=diskName&leftPath=directory2&rightDisk=diskName2&rightPath=images
leftDisk and leftPath is default for the file manager windows configuration - 1,2
Upgrading to version 2.3
Update pre-compiled css and js files and config file - file-manager.php
// config
php artisan vendor:publish --tag=fm-config --force
// js, css
php artisan vendor:publish --tag=fm-assets --force
You can update the config file manually - add new params:
/**
* Default path for left manager
* null - root directory
*/
'leftPath' => null,
/**
* Default path for right manager
* null - root directory
*/
'rightPath' => null,