Resolve KBZ cert paths relative to storage_path()
KBZ_CERT_PATH/KBZ_CERT_KEY_PATH/KBZ_CA_PATH now store paths relative to storage/, wrapped in storage_path() here instead of requiring an absolute path in .env.
This commit is contained in:
+3
-3
@@ -58,9 +58,9 @@ return [
|
||||
'query_order_url' => env('KBZ_QUERY_ORDER_URL'),
|
||||
'refund_order_url' => env('KBZ_REFUND_ORDER_URL'),
|
||||
'notify_url' => env('KBZ_NOTIFY_URL'),
|
||||
'cert_path' => env('KBZ_CERT_PATH'),
|
||||
'cert_key_path' => env('KBZ_CERT_KEY_PATH'),
|
||||
'ca_path' => env('KBZ_CA_PATH'),
|
||||
'cert_path' => env('KBZ_CERT_PATH') ? storage_path(env('KBZ_CERT_PATH')) : null,
|
||||
'cert_key_path' => env('KBZ_CERT_KEY_PATH') ? storage_path(env('KBZ_CERT_KEY_PATH')) : null,
|
||||
'ca_path' => env('KBZ_CA_PATH') ? storage_path(env('KBZ_CA_PATH')) : null,
|
||||
'cert_password' => env('KBZ_CERT_PASSWORD'),
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user