storage/config/base.php
<?php
/*
* This file is part of the HomeFinanceV2 project.
*
* (c) Rafalsky.com <http://github.com/Rafalsky/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* @author Eugene Terentev <eugene@terentev.net>
*/
return [
'id' => 'storage',
'basePath' => dirname(__DIR__),
'defaultRoute' => 'glide/index',
'controllerMap' => [
'glide' => trntv\glide\controllers\GlideController::class
],
'components' => [
'urlManager' => require(__DIR__ . '/_urlManager.php'),
'glide' => [
'class' => trntv\glide\components\Glide::class,
'sourcePath' => '@storage/web/source',
'cachePath' => '@storage/cache',
'maxImageSize' => env('GLIDE_MAX_IMAGE_SIZE'),
'signKey' => env('GLIDE_SIGN_KEY')
]
]
];