diff --git a/status.php b/status.php index 01b0d7244c..94c8cfce84 100644 --- a/status.php +++ b/status.php @@ -26,18 +26,9 @@ $RUNTIME_NOAPPS = TRUE; //no apps, yet require_once('lib/base.php'); if(OC_Config::getValue('installed')==1) $installed='true'; else $installed='false'; +$values=array('installed'=>$installed,'version'=>implode('.',OC_Util::getVersion()),'versionstring'=>OC_Util::getVersionString()); - -$txt=' - - '.$installed.' - '.implode('.',OC_Util::getVersion()).' - ownCloud '.OC_Util::getVersionString().' - -'; - -echo($txt); - +echo(json_encode($values)); ?>