Use OC::$server->getConfig()->getSystemValue()