File lychee-config-path.patch of Package lychee
Index: Lychee-5.5.1/config/logging.php
===================================================================
--- Lychee-5.5.1.orig/config/logging.php 2024-07-05 15:21:56.000000000 +0200
+++ Lychee-5.5.1/config/logging.php 2024-07-08 09:03:04.203487475 +0200
@@ -54,14 +54,14 @@ return [
// Whatever debug log is needed
// Mostly SQL requests
'debug-daily' => [
- 'path' => storage_path('logs/daily.log'),
+ 'path' => '/var/log/lychee/daily.log',
'driver' => 'daily',
'level' => 'debug',
],
// Something went wrong
'error' => [
- 'path' => storage_path('logs/errors.log'),
+ 'path' => '/var/log/lychee/errors.log',
'driver' => 'single',
'level' => 'error',
'bubble' => false,
@@ -69,7 +69,7 @@ return [
// Something may have gone wrong
'warning' => [
- 'path' => storage_path('logs/warning.log'),
+ 'path' => '/var/log/lychee/warning.log',
'driver' => 'single',
'level' => 'warning',
'bubble' => false,
@@ -77,16 +77,16 @@ return [
// By the way...
'notice' => [
- 'path' => storage_path('logs/notice.log'),
+ 'path' => '/var/log/lychee/notice.log',
'driver' => 'daily',
'level' => 'notice',
],
// Specific channel to check who is accessing Lychee
'login' => [
- 'path' => storage_path('logs/login.log'),
+ 'path' => '/var/log/lychee/login.log',
'driver' => 'single',
'level' => 'info',
],
],
-];
+];
\ No newline at end of file
Index: Lychee-5.5.1/config/session.php
===================================================================
--- Lychee-5.5.1.orig/config/session.php 2024-07-05 15:21:56.000000000 +0200
+++ Lychee-5.5.1/config/session.php 2024-07-08 09:04:03.477462149 +0200
@@ -58,7 +58,7 @@ return [
|
*/
- 'files' => storage_path('framework/sessions'),
+ 'files' => '/var/cache/lychee/sessions',
/*
|--------------------------------------------------------------------------
@@ -197,4 +197,4 @@ return [
*/
'same_site' => 'lax',
-];
+];
\ No newline at end of file