28 lines
755 B
PHP
28 lines
755 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class ConfigServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Overwrite any vendor / package configuration.
|
|
*
|
|
* This service provider is intended to provide a convenient location for you
|
|
* to overwrite any "vendor" or package configuration that you may want to
|
|
* modify before the application handles the incoming request / command.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
config([
|
|
'lfm.images_url' => url('uploads').'/',
|
|
'lfm.images_dir' => 'public/uploads/',
|
|
'lfm.files_url' => url('files').'/',
|
|
'lfm.files_dir' => '/files/',
|
|
]);
|
|
}
|
|
}
|