Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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