$result = chdir($folder_path);
}
// Create a new Multiotp object
// The log and users subfolders are set by default under the folder of the script
// We set directly a specific encryption key for the config, tokens and users files
// PLEASE DO NOT CHANGE THIS LINE IF YOU DON'T KNOW WHAT YOU DO!
// IF YOU CHANGE THE ENCRYPTION KEY, YOUR PREVIOUS ENCRYPTED DATA WILL NOT BE READABLE ANYMORE
if ($command == "libhash" || $command == "help") {
    if (!isset($multiotp)) {
        $multiotp = new Multiotp('DefaultCliEncryptionKey', FALSE, $folder_path);
    }
} else {
    if (!isset($multiotp)) {
        $multiotp = new Multiotp('DefaultCliEncryptionKey', $initialize_backend, $folder_path);
    }
    $multiotp->UpgradeSchemaIfNeeded();
    $verbose_prefix = $multiotp->GetVerboseLogPrefix();
    // for example Reply-Message :=
}
// Initialize multiOTP options
if ($enable_log) {
    $multiotp->EnableLog();
}
if ($verbose_log) {
    $multiotp->EnableVerboseLog();
}
if ($display_log) {
    $multiotp->EnableDisplayLog();
}
if ($keep_local) {
    $multiotp->EnableKeepLocal();