From adc9d8f6395c2fe776d142a69a5725cfc4b59bc2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 29 Oct 2016 15:35:33 +0200 Subject: php-sabre-dav: switch from symfony/class-loader to fedora/autoloader --- php-sabre-http-autoload.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'php-sabre-http-autoload.php') diff --git a/php-sabre-http-autoload.php b/php-sabre-http-autoload.php index 985f366..f305e1a 100644 --- a/php-sabre-http-autoload.php +++ b/php-sabre-http-autoload.php @@ -8,7 +8,8 @@ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; // Functions require_once __DIR__ . '/functions.php'; -// dependencies -require_once '/usr/share/php/Sabre/Event/autoload.php'; -require_once '/usr/share/php/Sabre/Uri/autoload.php'; +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/Sabre/Event/autoload.php', + '/usr/share/php/Sabre/Uri/autoload.php', +)); -- cgit