aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-30 22:11:19 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-30 22:11:19 +0100
commit261cd87efa5623b51bbfa466f94d243bb7b49336 (patch)
tree25dd1d72e0a1e7563dc4bb6deabc937afd7946ec /apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php
parent0e92a4896df11d6fd3ee4ed73dfa1cb121d66895 (diff)
parentc1730d241c52b5e5c1719b6086d05cb30783e665 (diff)
downloadnextcloud-server-261cd87efa5623b51bbfa466f94d243bb7b49336.tar.gz
nextcloud-server-261cd87efa5623b51bbfa466f94d243bb7b49336.zip
Merge branch 'master' into home-storage
Diffstat (limited to 'apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php')
-rw-r--r--apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php b/apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php
new file mode 100644
index 00000000000..15ff034b92d
--- /dev/null
+++ b/apps/files_external/3rdparty/php-opencloud/lib/php-opencloud.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * entry point for PHP-OpenCloud library
+ *
+ * @copyright 2013 Rackspace Hosting, Inc.
+ * @license http://www.apache.org/licenses/LICENSE-2.0
+ */
+require_once(__DIR__ . '/Autoload.php');
+require_once(__DIR__ . '/OpenCloud/Globals.php');
+
+$classLoader = new ClassLoader;
+$classLoader->registerNamespaces(array(
+ 'OpenCloud' => array(__DIR__, __DIR__ . '/../tests')
+));
+$classLoader->register(); \ No newline at end of file