From 3e4038289f467ae548857549ee8f55df5d95e61b Mon Sep 17 00:00:00 2001 From: "martin.mattel@diemattels.at" Date: Wed, 17 Aug 2016 08:41:49 +0200 Subject: [PATCH] Include "Product Name" in status.php printout identifyer -> identifier removed variable --- status.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/status.php b/status.php index 0d7c228567..1da399051a 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 {