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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin.mattel@diemattels.at <martin.mattel@diemattels.at>2016-08-17 09:41:49 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-29 16:21:56 +0300
commit3e4038289f467ae548857549ee8f55df5d95e61b (patch)
tree87442f14bcfdd19e5fcebbfd45812365fa0996f4 /status.php
parent3647fbe7cd86e743b059889d69b03fcf8207780f (diff)
Include "Product Name" in status.php printout
identifyer -> identifier removed variable
Diffstat (limited to 'status.php')
-rw-r--r--status.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/status.php b/status.php
index 0d7c2285679..1da399051a6 100644
--- a/status.php
+++ b/status.php
@@ -35,12 +35,16 @@ try {
$installed = (bool) $systemConfig->getValue('installed', false);
$maintenance = (bool) $systemConfig->getValue('maintenance', false);
+ # see core/lib/private/legacy/defaults.php and core/themes/example/defaults.php
+ # for description and defaults
+ $defaults = new \OC_Defaults();
$values=array(
'installed'=>$installed,
'maintenance' => $maintenance,
'version'=>implode('.', \OCP\Util::getVersion()),
'versionstring'=>OC_Util::getVersionString(),
- 'edition'=>OC_Util::getEditionString());
+ 'edition'=>OC_Util::getEditionString(),
+ 'productname'=>$defaults->getName());
if (OC::$CLI) {
print_r($values);
} else {