Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev
This commit is contained in:
commit
ae9ecff8d7
@ -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') {
|
||||
|
||||
|
||||
@ -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'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user