summaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-09-04 12:12:38 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2012-09-04 12:12:38 +0300
commitc25f53c3f9b1c8a276b5644c03b90c28c7d1fdf2 (patch)
tree3d182024b5e98a53f5553d72e853992f1a6e689f /status.php
parentca2a51894588819c4dee78fd2d6f655adaebd8b1 (diff)
downloadnextcloud-server-c25f53c3f9b1c8a276b5644c03b90c28c7d1fdf2.tar.gz
nextcloud-server-c25f53c3f9b1c8a276b5644c03b90c28c7d1fdf2.zip
Update status.php
respect coding style
Diffstat (limited to 'status.php')
-rw-r--r--status.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/status.php b/status.php
index f314a3a1c6f..26731153577 100644
--- a/status.php
+++ b/status.php
@@ -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));