diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/phing/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/phing/files')
-rw-r--r-- | dev-php/phing/files/autoload.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-php/phing/files/autoload.php b/dev-php/phing/files/autoload.php new file mode 100644 index 000000000000..437a7dc7ee1e --- /dev/null +++ b/dev-php/phing/files/autoload.php @@ -0,0 +1,14 @@ +<?php +$vendor_dir = '/usr/share/php'; +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once("${vendor_dir}/Fedora/Autoloader/autoload.php"); +} + +/* + At least for the moment, we don't need to autoload the Phing classes + themselves, because the "require" statements are all still there. +*/ + +\Fedora\Autoloader\Dependencies::required( + array("${vendor_dir}/Symfony/Component/Yaml/autoload.php") +); |