add new Api-Module 'SysLog' to query froxlor logs; set default value for api_allowed to the value of api.enabled setting when adding new customer via frontend to behave like Customers.add() API method

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-11-09 11:37:45 +01:00
parent dfedc478f7
commit c2a9880616
2 changed files with 214 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ return array(
)
),
'value' => array(
'1'
(\Froxlor\Settings::Get('api.enabled') == '1' ? '1' : '0')
),
'visible' => (\Froxlor\Settings::Get('api.enabled') == '1' ? true : false)
)