diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-12 06:20:46 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-12 06:20:46 +0200 |
commit | 3be1718dbe9dc6ae142bba5041d1553d3441ed51 (patch) | |
tree | ab9f38c65aab9271c4232da8d2b400680856570f /php-myclabs-deep-copy-autoload.php | |
parent | ba844b17185f8049d14615e5a2df86bbf768da7c (diff) |
v1.8.1
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__); |