diff options
Diffstat (limited to 'php-myclabs-deep-copy-autoload.php')
-rw-r--r-- | php-myclabs-deep-copy-autoload.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/php-myclabs-deep-copy-autoload.php b/php-myclabs-deep-copy-autoload.php index 26343f0..3ed49e9 100644 --- a/php-myclabs-deep-copy-autoload.php +++ b/php-myclabs-deep-copy-autoload.php @@ -1,10 +1,7 @@ <?php /* Autoloader for myclabs/deep-copy and its dependencies */ -if (!function_exists("DeepCopy\\deep_copy")) { - require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; - require_once __DIR__ . '/deep_copy.php'; - - \Fedora\Autoloader\Autoload::addPsr4('DeepCopy\\', __DIR__); -} +require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +require_once __DIR__ . '/deep_copy.php'; +\Fedora\Autoloader\Autoload::addPsr4('DeepCopy\\', __DIR__); |