Merge pull request #1160 from nextcloud/downstream-25823
Include "Product Name" in status.php printout
This commit is contained in:
commit
7da393c889
|
@ -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 \OCP\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 {
|
||||
|
|
Loading…
Reference in New Issue