mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 09:54:34 -04: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'))
|
if($this->gateway->provider == 'Stripe' && strpos($config->publishableKey, 'test'))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if(property_exists($config, 'testMode') && $config->testMode)
|
if($config && property_exists($config, 'testMode') && $config->testMode)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -71,8 +71,8 @@ class SystemHealth
|
|||||||
'env_writable' => self::checkEnvWritable(),
|
'env_writable' => self::checkEnvWritable(),
|
||||||
//'mail' => self::testMailServer(),
|
//'mail' => self::testMailServer(),
|
||||||
'simple_db_check' => (bool) self::simpleDbCheck(),
|
'simple_db_check' => (bool) self::simpleDbCheck(),
|
||||||
'npm_status' => self::checkNpm(),
|
//'npm_status' => self::checkNpm(),
|
||||||
'node_status' => self::checkNode(),
|
//'node_status' => self::checkNode(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user