Skip to content

Commit f15fbd9

Browse files
committed
update readme
1 parent 8442706 commit f15fbd9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,17 @@ since they do not enforce any kind of security), change this entry in config/lfm
5353
'use_package_routes' => true,
5454
```
5555

56-
1. If you don't want to use the default image directory or url, update the appropriate lines in config/lfm.php:
56+
1. If you don't want to use the default image/file directory or url, update the appropriate lines in config/lfm.php:
5757

5858
```php
59-
'images_dir' => 'public/vendor/laravel-filemanager/files/',
60-
'images_url' => '/vendor/laravel-filemanager/files/',
59+
'images_dir' => 'public/vendor/laravel-filemanager/images/',
60+
'images_url' => '/vendor/laravel-filemanager/images/',
61+
'files_dir' => 'public/vendor/laravel-filemanager/files/',
62+
'files_url' => '/vendor/laravel-filemanager/files/',
6163
```
6264

65+
1. Ensure that the files & images directories are writable by your web serber
66+
6367
1. In the view where you are using a CKEditor instance, use the file uploader by initializing the
6468
CKEditor instance as follows:
6569

0 commit comments

Comments
 (0)