Update status.php

respect coding style
This commit is contained in:
Thomas Müller 2012-09-04 12:12:38 +03:00
parent ca2a518945
commit c25f53c3f9
1 changed files with 6 additions and 2 deletions

View File

@ -23,9 +23,13 @@
$RUNTIME_NOAPPS = TRUE; //no apps, yet
require_once('lib/base.php');
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(),'edition'=>OC_Util::getEditionString());
$values=array(
'installed'=>$installed,
'version'=>implode('.', OC_Util::getVersion()),
'versionstring'=>OC_Util::getVersionString(),
'edition'=>OC_Util::getEditionString());
echo(json_encode($values));