summaryrefslogtreecommitdiffstats
path: root/lib/ocs/config.php
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2012-07-30 12:42:18 +0000
committerTom Needham <tom@owncloud.com>2012-07-30 12:42:18 +0000
commit9072106048265ce144227605c8919104acf6d746 (patch)
treec60f9b1e4a421ecb61e35821d57242e7509d1d2e /lib/ocs/config.php
parentf09ecee63aa6ed3c43dd88b125647460b404a601 (diff)
downloadnextcloud-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.php16
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