Include "Product Name" in status.php printout
identifyer -> identifier removed variable
This commit is contained in:
parent
3647fbe7cd
commit
3e4038289f
|
@ -35,12 +35,16 @@ try {
|
||||||
|
|
||||||
$installed = (bool) $systemConfig->getValue('installed', false);
|
$installed = (bool) $systemConfig->getValue('installed', false);
|
||||||
$maintenance = (bool) $systemConfig->getValue('maintenance', 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(
|
$values=array(
|
||||||
'installed'=>$installed,
|
'installed'=>$installed,
|
||||||
'maintenance' => $maintenance,
|
'maintenance' => $maintenance,
|
||||||
'version'=>implode('.', \OCP\Util::getVersion()),
|
'version'=>implode('.', \OCP\Util::getVersion()),
|
||||||
'versionstring'=>OC_Util::getVersionString(),
|
'versionstring'=>OC_Util::getVersionString(),
|
||||||
'edition'=>OC_Util::getEditionString());
|
'edition'=>OC_Util::getEditionString(),
|
||||||
|
'productname'=>$defaults->getName());
|
||||||
if (OC::$CLI) {
|
if (OC::$CLI) {
|
||||||
print_r($values);
|
print_r($values);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue