summaryrefslogtreecommitdiffstats
path: root/glpi-fedora-autoloader.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-26 08:12:51 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-26 08:12:51 +0200
commit028fe6fb36dd4a926845f663999294f69d283802 (patch)
tree3d35c288f6658115136cfa59d36660825cabfa08 /glpi-fedora-autoloader.php
parenta8e6c0896b628f30510e04d626d32c35f12cf25f (diff)
glpi: rename
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';
+}