1 2 3 4 5 6 7 8 9 10 11 12 13
<?php class OC_OCS_Config { public static function apiConfig($parameters){ $xml['version'] = '1.7'; $xml['website'] = 'ownCloud'; $xml['host'] = OCP\Util::getServerHost(); $xml['contact'] = ''; $xml['ssl'] = 'false'; return $xml; } }