summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-15 07:39:45 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-15 07:39:45 +0100
commita495c49600c45e11d1a0680b2a19c58a8101b14d (patch)
tree3e4ffde087e569bcbe7a8c0e98c323615ed7111b
parentc8f0920dc65d88e80db1e0481eb39fb31115d7c2 (diff)
php-solarium: again, fix for old symfony (epel)
-rw-r--r--php-solarium-autoload.php2
1 files changed, 1 insertions, 1 deletions
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);
}