mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-15 01:35:02 +00:00
added it_get_settings, it_try_get_secured_settings_via_public_api test
This commit is contained in:
@@ -50,6 +50,18 @@ function get_settings_in_json()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if setup wizard was passed
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function get_setup_status()
|
||||
{
|
||||
$setup_success = get_setting('setup_wizard_success');
|
||||
|
||||
return boolval($setup_success) ? 'setup-done' : 'setup-disclaimer';
|
||||
}
|
||||
|
||||
/**
|
||||
* Create paragraph from text
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user