mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Minor fixes
This commit is contained in:
parent
7d871edd4e
commit
2f3b0e51f0
@ -36,7 +36,8 @@ class SubdomainController extends BaseController
|
|||||||
'lb',
|
'lb',
|
||||||
'shopify',
|
'shopify',
|
||||||
'beta',
|
'beta',
|
||||||
'prometh'
|
'prometh',
|
||||||
|
'license',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
@ -64,7 +64,7 @@ class Ninja
|
|||||||
'license' => config('ninja.license'),
|
'license' => config('ninja.license'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$data = trim(CurlUtils::post('https://license.invoiceninja.com/api/check', $data));
|
$data = trim(CurlUtils::post('https://license.invoicing.co/api/check', $data));
|
||||||
$data = json_decode($data);
|
$data = json_decode($data);
|
||||||
|
|
||||||
if ($data && property_exists($data, 'message') && $data->message == sha1(config('ninja.license'))) {
|
if ($data && property_exists($data, 'message') && $data->message == sha1(config('ninja.license'))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user