diff options
author | Tom Needham <tom@owncloud.com> | 2012-07-30 12:42:18 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2012-07-30 12:42:18 +0000 |
commit | 9072106048265ce144227605c8919104acf6d746 (patch) | |
tree | c60f9b1e4a421ecb61e35821d57242e7509d1d2e /lib/ocs/config.php | |
parent | f09ecee63aa6ed3c43dd88b125647460b404a601 (diff) | |
download | nextcloud-server-9072106048265ce144227605c8919104acf6d746.tar.gz nextcloud-server-9072106048265ce144227605c8919104acf6d746.zip |
Move OCS methods to lib/ocs/.php
Diffstat (limited to 'lib/ocs/config.php')
-rw-r--r-- | lib/ocs/config.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/ocs/config.php b/lib/ocs/config.php new file mode 100644 index 00000000000..b736abe3b9c --- /dev/null +++ b/lib/ocs/config.php @@ -0,0 +1,16 @@ +<?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; + } + +} + +?>
\ No newline at end of file |