Skip to content

v2.4.7

Compare
Choose a tag to compare
@alexusmai alexusmai released this 20 Nov 18:42
· 49 commits to master since this release
  • Show / Hide system files and folders - in a config file you can set default value, but you can change this settings from FM manualy (added new button), without saving

config/file-manager.php

'hiddenFiles' => true,
  • Added edditing json and log files in text editor. (Be careful with json! invalid json will then be difficult to fix )

  • Now you don't need to install helper package for laravel 6 - laravel/helpers

Upgrading

You need to update you config file manualy (add new setting) or you can make --force updating, but make backup your settings first

// config
php artisan vendor:publish --tag=fm-config --force
// js, css
php artisan vendor:publish --tag=fm-assets --force

If you are implementing ConfigRepository - add new method in your class

/**
     * Show / Hide system files and folders
     *
     * @return bool
     */
    public function getHiddenFiles(): bool
    {
        return config('file-manager.hiddenFiles');
    }