Did you follow the guide to get the config file into your own config directory? Change it in there after publishing it
php artisan vendor:publish --tag=ckfinder
My guess is that the file will be named ckfinder.php and be located in /config
Hello guys, how can I change path to custom directory. I found path in file: vendor/ckfinder/ckfinder-laravel-package/src/config.php:
$config['backends']['default'] = array(
'name' => 'default',
'adapter' => 'local',
'baseUrl' => config('app.url').'/userfiles/',
'root' => public_path('/userfiles/'),
'chmodFiles' => 0777,
'chmodFolders' => 0755,
'filesystemEncoding' => 'UTF-8'
);
but when I change the path, nothing happens. Then the files are saved in the wrong place. I put in a static path and nothing. Can upload to this path (example.com/userfiles/files/test.png), but my file is shown on a different path: (example.com/template/public/userfiles/files/test.png). Part of path is missing: (.../template /public/...) This is because I have a directory structure different from the standard one. I have the files in the public directory higher, and the rest in the custom directory. Swapped places. Does anyone have any idea where I can configure the path to display the images?
Did you follow the guide to get the config file into your own config directory? Change it in there after publishing it
php artisan vendor:publish --tag=ckfinder
My guess is that the file will be named ckfinder.php and be located in /config
Please or to participate in this conversation.