getConfig()->getAppValue('passman', 'check_version', '1') === '1'; $AppInstance = new App(); $localVersion = $AppInstance->getAppInfo("passman")["version"]; if ($checkVersion) { // get latest master version $doc = new DOMDocument(); $doc->load('https://raw.githubusercontent.com/nextcloud/passman/master/appinfo/info.xml'); $root = $doc->getElementsByTagName("info"); $version = false; $githubVersion = $l->t('Unable to get version info'); foreach ($root as $element) { $versions = $element->getElementsByTagName("version"); $version = $versions->item(0)->nodeValue; } if ($version) { $githubVersion = $version; } } $ciphers = openssl_get_cipher_methods(); ?>