Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/issuetemplate.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Settings/Admin.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php
index 386b3d3..30953ce 100644
--- a/lib/Settings/Admin.php
+++ b/lib/Settings/Admin.php
@@ -61,13 +61,13 @@ class Admin implements ISettings {
public function getForm() {
$data = array(
- 'version' => $this->config->getSystemValue('version'),
+ 'version' => \OC_Util::getHumanVersion() . " - " . $this->config->getSystemValue('version'),
'os' => php_uname(),
- 'php' => PHP_VERSION,
+ 'php' => PHP_VERSION . "\nModules loaded: " . implode(", ", get_loaded_extensions()),
'dbserver' => $this->config->getSystemValue('dbtype'),
- 'webserver' => $_SERVER['software'] . " " . php_sapi_name(),
+ 'webserver' => $_SERVER['SERVER_SOFTWARE'] . " (" . php_sapi_name() . ")",
'installMethod' => $this->getInstallMethod(),
- 'integrity' => $this->checker->verifyCoreSignature(),
+ 'integrity' => $this->getIntegrityResults(),
'apps' => $this->getAppList(),
'config' => $this->getConfig(),
);
@@ -89,6 +89,13 @@ class Admin implements ISettings {
return 10;
}
+ private function getIntegrityResults() {
+ if(!$this->checker->isCodeCheckEnforced()) {
+ return 'Integrity checker has been disabled. Integrity cannot be verified.';
+ }
+ return $this->checker->getResults();
+ }
+
private function getInstallMethod() {
$base = \OC::$SERVERROOT;
if(file_exists($base . '/.git')) {