summaryrefslogtreecommitdiffstats
path: root/php-phpseclib3-autoload.php
diff options
context:
space:
mode:
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__);
+