Show the different editions to the user. Used in the status call, on the personal settings page and in the updater to update to the next available version from the same edition.

This commit is contained in:
Frank Karlitschek
2012-04-01 11:20:12 +02:00
parent 6bb48b2731
commit 6545e48787
4 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ $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());
$values=array('installed'=>$installed,'version'=>implode('.',OC_Util::getVersion()),'versionstring'=>OC_Util::getVersionString(),'edition'=>OC_Util::getEditionString());
echo(json_encode($values));