Files
faveo/app/Providers/ConfigServiceProvider.php
Sujit Prasad ffa56a43cb update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
2016-08-03 20:04:36 +05:30

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/',
]);
}
}