mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve selfhost app load time
This commit is contained in:
parent
54625ccc41
commit
a1fef77bdc
@ -43,7 +43,7 @@ class SystemHealth
|
|||||||
* @param bool $check_database
|
* @param bool $check_database
|
||||||
* @return array Result set of checks
|
* @return array Result set of checks
|
||||||
*/
|
*/
|
||||||
public static function check($check_database = true, $check_filesystem = true): array
|
public static function check($check_database = true, $check_file_system = true): array
|
||||||
{
|
{
|
||||||
$system_health = true;
|
$system_health = true;
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ class SystemHealth
|
|||||||
'pdf_engine' => (string) self::getPdfEngine(),
|
'pdf_engine' => (string) self::getPdfEngine(),
|
||||||
'queue' => (string) config('queue.default'),
|
'queue' => (string) config('queue.default'),
|
||||||
'trailing_slash' => (bool) self::checkUrlState(),
|
'trailing_slash' => (bool) self::checkUrlState(),
|
||||||
'file_permissions' => (string) ($check_filesystem ? self::checkFileSystem() : ''),
|
'file_permissions' => (string) ($check_file_system ? self::checkFileSystem() : ''),
|
||||||
'exchange_rate_api_not_configured' => (bool)self::checkCurrencySanity(),
|
'exchange_rate_api_not_configured' => (bool)self::checkCurrencySanity(),
|
||||||
'api_version' => (string) config('ninja.app_version'),
|
'api_version' => (string) config('ninja.app_version'),
|
||||||
'is_docker' => (bool) config('ninja.is_docker'),
|
'is_docker' => (bool) config('ninja.is_docker'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user