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'];