We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922e3dd commit bad50c2Copy full SHA for bad50c2
src/FileManagerServiceProvider.php
@@ -58,7 +58,7 @@ public function boot()
58
$config = \Config::get('rfm');
59
60
if (!empty($config)) {
61
- $config['base_url'] = $this->fixPath($config['base_url'], true) . '/';
+ $config['base_url'] = trim($config['base_url'], '/') . '/';
62
$config['upload_dir'] = $upload_dir = $this->fixPath($config['upload_dir'], true) . '/';
63
$config['current_path'] = $current_path = $this->fixPath($config['current_path'], true) . '/';
64
$config['thumbs_upload_dir'] = $thumbs_upload_dir = $this->fixPath($config['thumbs_upload_dir'], true) . '/';
0 commit comments