From 9d18207658b1eefcb9e1c99c6c10889c449ac1aa Mon Sep 17 00:00:00 2001 From: velz Date: Wed, 10 Dec 2025 16:41:26 +0530 Subject: [PATCH] FIX_MINOR --- app/Config/Database.php | 2 +- app/Filters/CommissionApiFilter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Config/Database.php b/app/Config/Database.php index 2d388192..dcc1c2dd 100755 --- a/app/Config/Database.php +++ b/app/Config/Database.php @@ -124,7 +124,7 @@ class Database extends Config $this->defaultGroup = 'tests'; } - $this->enableSSL = env('DB_SSL_ENABLE'); + $this->enableSSL = env('DB_SSL_ENABLE') ?? false; if ($this->enableSSL === true || $this->enableSSL === 'true' || $this->enableSSL === 1 || $this->enableSSL === '1') { diff --git a/app/Filters/CommissionApiFilter.php b/app/Filters/CommissionApiFilter.php index d7ae956e..f68e62cd 100644 --- a/app/Filters/CommissionApiFilter.php +++ b/app/Filters/CommissionApiFilter.php @@ -10,7 +10,7 @@ class CommissionApiFilter implements FilterInterface { public function before(RequestInterface $request, $arguments = null) { - + return null; // Read API key from header // $authHeader = $request->getHeaderLine('X'); $authHeader = $_SERVER['REDIRECT_HTTP_AUTHORIZATION'];