mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Remove require NPM/NODE from setup checks
This commit is contained in:
parent
3dde9e5eee
commit
32e987a1b2
@ -213,7 +213,7 @@ class CompanyGateway extends BaseModel
|
||||
if($this->gateway->provider == 'Stripe' && strpos($config->publishableKey, 'test'))
|
||||
return true;
|
||||
|
||||
if(property_exists($config, 'testMode') && $config->testMode)
|
||||
if($config && property_exists($config, 'testMode') && $config->testMode)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
@ -71,8 +71,8 @@ class SystemHealth
|
||||
'env_writable' => self::checkEnvWritable(),
|
||||
//'mail' => self::testMailServer(),
|
||||
'simple_db_check' => (bool) self::simpleDbCheck(),
|
||||
'npm_status' => self::checkNpm(),
|
||||
'node_status' => self::checkNode(),
|
||||
//'npm_status' => self::checkNpm(),
|
||||
//'node_status' => self::checkNode(),
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user