summaryrefslogtreecommitdiffstats
path: root/php-phpseclib-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-07 08:07:47 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-07 08:07:47 +0200
commite099e914a3b53195ac4aafd02bc668b147171acc (patch)
tree3596badad16c73591d0af00f2f2f9beb5685d1f9 /php-phpseclib-autoload.php
parentd8ead50fcbc501e54bc5003bdf67b1e87e23e080 (diff)
php-phpseclib: 2.0.2
Diffstat (limited to 'php-phpseclib-autoload.php')
-rw-r--r--php-phpseclib-autoload.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-phpseclib-autoload.php b/php-phpseclib-autoload.php
index b195e0d..4367aa0 100644
--- a/php-phpseclib-autoload.php
+++ b/php-phpseclib-autoload.php
@@ -14,6 +14,11 @@ if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Compo
$fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader();
$fedoraClassLoader->register();
}
+
+// composer.json: "autoload": { "files": [ "phpseclib/bootstrap.php" ], "psr-4": { "phpseclib\\": "phpseclib/" }
+require_once __DIR__ . '/bootstrap.php';
+
$fedoraClassLoader->addPrefixes(array(
'phpseclib' => dirname(__DIR__),
));
+