Don't throw 500 when not installed
This commit is contained in:
parent
a9a43e9384
commit
8ada5e6ca7
|
@ -40,7 +40,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() : '');
|
||||||
if (OC::$CLI) {
|
if (OC::$CLI) {
|
||||||
print_r($values);
|
print_r($values);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue