Browse Source

Include "Product Name" in status.php printout

identifyer -> identifier

removed variable
tags/v11.0RC2
martin.mattel@diemattels.at 7 years ago
parent
commit
3e4038289f
No account linked to committer's email address
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      status.php

+ 5
- 1
status.php View File

@@ -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 {

Loading…
Cancel
Save