Skip to content

Commit bad50c2

Browse files
author
Mubashar Ahmad
committed
no message
1 parent 922e3dd commit bad50c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileManagerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function boot()
5858
$config = \Config::get('rfm');
5959

6060
if (!empty($config)) {
61-
$config['base_url'] = $this->fixPath($config['base_url'], true) . '/';
61+
$config['base_url'] = trim($config['base_url'], '/') . '/';
6262
$config['upload_dir'] = $upload_dir = $this->fixPath($config['upload_dir'], true) . '/';
6363
$config['current_path'] = $current_path = $this->fixPath($config['current_path'], true) . '/';
6464
$config['thumbs_upload_dir'] = $thumbs_upload_dir = $this->fixPath($config['thumbs_upload_dir'], true) . '/';

0 commit comments

Comments
 (0)