Don't throw 500 when not installed
This commit is contained in:
parent
7bfc698ae4
commit
bbc5fbe8c4
|
@ -43,7 +43,7 @@ try {
|
||||||
'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'=> $installed ? OC_Util::getEditionString() : '',
|
||||||
'productname'=>$defaults->getName());
|
'productname'=>$defaults->getName());
|
||||||
if (OC::$CLI) {
|
if (OC::$CLI) {
|
||||||
print_r($values);
|
print_r($values);
|
||||||
|
|
Loading…
Reference in New Issue