summaryrefslogtreecommitdiffstats
path: root/php-phpseclib3-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-12-17 10:37:49 +0100
committerRemi Collet <remi@remirepo.net>2020-12-17 10:37:49 +0100
commit6df6e746beed8e451983d65c782bced24290a86b (patch)
tree4d2bfdc6e2e6a7492521935885c113571e98857c /php-phpseclib3-autoload.php
duplicate v2
Diffstat (limited to 'php-phpseclib3-autoload.php')
-rw-r--r--php-phpseclib3-autoload.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-phpseclib3-autoload.php b/php-phpseclib3-autoload.php
new file mode 100644
index 0000000..93e0f67
--- /dev/null
+++ b/php-phpseclib3-autoload.php
@@ -0,0 +1,11 @@
+<?php
+
+/**
+ * Autoloader for phpseclib/phpseclib.
+ */
+require_once "/usr/share/php/Fedora/Autoloader/autoload.php";
+
+// composer.json: "autoload": { "files": [ "phpseclib/bootstrap.php" ], "psr-4": { "phpseclib\\": "phpseclib/" }
+require_once __DIR__ . '/bootstrap.php';
+\Fedora\Autoloader\Autoload::addPsr4('phpseclib\\', __DIR__);
+