summaryrefslogtreecommitdiffstats
path: root/glpi-fedora-autoloader.php
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-fedora-autoloader.php')
-rw-r--r--glpi-fedora-autoloader.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/glpi-fedora-autoloader.php b/glpi-fedora-autoloader.php
new file mode 100644
index 0000000..8f0733b
--- /dev/null
+++ b/glpi-fedora-autoloader.php
@@ -0,0 +1,37 @@
+<?php
+$vendor = '##DATADIR##/php';
+
+// Dependencies from composer.json
+// "guzzlehttp/guzzle"
+require_once $vendor . '/GuzzleHttp6/autoload.php';
+// "ircmaxell/password-compat"
+// => useless for php >= 5.5
+//require_once $vendor . '/password_compat/password.php';
+// "jasig/phpcas"
+require_once '##DATADIR##/pear/CAS/Autoload.php';
+// "iamcal/lib_autolink"
+require_once $vendor . '/php-iamcal-lib-autolink/autoload.php';
+// "phpmailer/phpmailer"
+require_once $vendor . '/PHPMailer/PHPMailerAutoload.php';
+// "sabre/vobject"
+require_once $vendor . '/Sabre/VObject/autoload.php';
+// "simplepie/simplepie"
+require_once $vendor . '/php-simplepie/autoloader.php';
+// "tecnickcom/tcpdf"
+require_once $vendor . '/tcpdf/tcpdf.php';
+// "zendframework/zend-cache"
+// "zendframework/zend-i18n"
+// "zendframework/zend-loader"
+require_once $vendor . '/Zend/autoload.php';
+// "zetacomponents/graph"
+require_once $vendor . '/ezc/Graph/autoloader.php';
+// "ramsey/array_column"
+// => useless for php >= 5.5
+// "michelf/php-markdown"
+require_once $vendor . '/Michelf/markdown-autoload.php';
+// "true/punycode"
+if (file_exists($vendor . '/TrueBV/autoload.php')) {
+ require_once $vendor . '/TrueBV/autoload.php';
+} else {
+ require_once $vendor . '/TrueBV/Punycode.php';
+}