FIX_MINOR

This commit is contained in:
velz 2025-12-10 16:41:26 +05:30
parent 1ae088a9b3
commit 9d18207658
2 changed files with 2 additions and 2 deletions

View File

@ -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') {

View File

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