Skip to content

Commit bd35df1

Browse files
committed
fix: use dirname() instead of __DIR__ with relative path for retour storage paths
1 parent a865b04 commit bd35df1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/config/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
'johannschopplich.plausible.sharedLink' => env('PLAUSIBLE_SHARED_LINK'),
6363
'distantnative' => [
6464
'retour' => [
65-
'config' => __DIR__ . './../../data/storage/retour/config.yml',
66-
'database' => __DIR__ . './../../data/storage/retour/log.sqlite'
65+
'config' => dirname(__DIR__, 2) . '/data/storage/retour/config.yml',
66+
'database' => dirname(__DIR__, 2) . '/data/storage/retour/log.sqlite'
6767
]
6868
],
6969
'panel' => [

0 commit comments

Comments
 (0)