summaryrefslogtreecommitdiffstats
path: root/php-sabre-dav-autoload-dev.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-29 15:14:23 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-29 15:14:23 +0200
commit863da66d20b908169f5c65412339f0df5de76318 (patch)
treed7babc6d07a8d883e1e44de7d6c7225d78da85e4 /php-sabre-dav-autoload-dev.php
parentf7952b2c46b28a510df276947634f3a84c60c346 (diff)
php-sabre-dav: switch the spec
Diffstat (limited to 'php-sabre-dav-autoload-dev.php')
-rw-r--r--php-sabre-dav-autoload-dev.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/php-sabre-dav-autoload-dev.php b/php-sabre-dav-autoload-dev.php
deleted file mode 100644
index 93a3196..0000000
--- a/php-sabre-dav-autoload-dev.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * Autoloader for sabre/dav and its dependencies
- */
-
-$vendorDir = '/usr/share/php';
-
-// Use Symfony autoloader
-if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) {
- if (!class_exists('Symfony\\Component\\ClassLoader\\ClassLoader', false)) {
- require_once $vendorDir . '/Symfony/Component/ClassLoader/ClassLoader.php';
- }
-
- $fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader();
- $fedoraClassLoader->register();
-}
-
-$thisdir = dirname(dirname(__DIR__));
-$fedoraClassLoader->addPrefixes(array(
- 'Sabre\\DAV\\' => $thisdir,
- 'Sabre\\DAVACL\\' => $thisdir,
- 'Sabre\\CalDAV\\' => $thisdir,
- 'Sabre\\CardDAV\\' => $thisdir,
-));
-
-// dependencies
-require_once $vendorDir . '/Sabre/Event/autoload.php';
-require_once $vendorDir . '/Sabre/HTTP/autoload.php';
-require_once $vendorDir . '/Sabre/VObject/autoload.php';
-require_once $vendorDir . '/Sabre/Xml/autoload.php';
-require_once $vendorDir . '/Sabre/Uri/autoload.php';