.
*
*/
$RUNTIME_NOAPPS = true; //no apps, yet
try {
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());
if (OC::$CLI) {
print_r($values);
} else {
echo(json_encode($values));
}
} catch (Exception $ex) {
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
}
er-avatars'>44319-fix-fed-share-user-avatars
Nextcloud server, a safe home for all your data: https://github.com/nextcloud/server | www-data |
blob: cecd97ace27c2f8b683f19187335db3db33caa12 (
plain)