From 6ed1bce6058c9655d4df1e028101385d0488b874 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Oct 2015 19:07:21 +0200 Subject: php-herrera-io-phar-update: 2.0.0, new package --- php-herrera-io-phar-update-autoload.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 php-herrera-io-phar-update-autoload.php (limited to 'php-herrera-io-phar-update-autoload.php') diff --git a/php-herrera-io-phar-update-autoload.php b/php-herrera-io-phar-update-autoload.php new file mode 100644 index 0000000..424a564 --- /dev/null +++ b/php-herrera-io-phar-update-autoload.php @@ -0,0 +1,24 @@ +register(); +} + +$fedoraClassLoader->addPrefix('Herrera\\Phar\\Update\\', dirname(dirname(dirname(__DIR__)))); + +// Dependencies +require_once $vendorDir . '/Herrera/Json/autoload.php'; +require_once $vendorDir . '/Herrera/Version/autoload.php'; + +// Adpated from upstream constants.php +if (!defined('PHAR_UPDATE_MANIFEST_SCHEMA')) { + define('PHAR_UPDATE_MANIFEST_SCHEMA', __DIR__ . '/schema.json'); +} \ No newline at end of file -- cgit