Parcourir la source

Include "Product Name" in status.php printout

identifyer -> identifier

removed variable
tags/v11.0RC2
martin.mattel@diemattels.at il y a 7 ans
Parent
révision
3e4038289f
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5
    1
      status.php

+ 5
- 1
status.php Voir le fichier

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

Chargement…
Annuler
Enregistrer