From a495c49600c45e11d1a0680b2a19c58a8101b14d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 15 Dec 2015 07:39:45 +0100 Subject: php-solarium: again, fix for old symfony (epel) --- php-solarium-autoload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php-solarium-autoload.php') diff --git a/php-solarium-autoload.php b/php-solarium-autoload.php index b8be4e0..b5fede0 100644 --- a/php-solarium-autoload.php +++ b/php-solarium-autoload.php @@ -18,5 +18,5 @@ $fedoraClassLoader->addPrefix('Solarium\\', dirname(__DIR__)); if (file_exists($vendorDir . '/Symfony/Component/autoload.php')) { require_once $vendorDir . '/Symfony/Component/autoload.php'; } else { - require_once $vendorDir . '/Symfony/autoload.php'; + $fedoraClassLoader->addPrefix('Symfony\\Component\\', $vendorDir); } -- cgit