From 1315a2d0c2f21e2e1cff585755c1c562e39f68db Mon Sep 17 00:00:00 2001 From: Kevin Purrmann Date: Fri, 15 Jan 2016 08:52:04 +0100 Subject: [PATCH] #41 Use ext_conf.php to autoload vendors in TYPO3 7.6 --- ext_emconf.php | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/ext_emconf.php b/ext_emconf.php index 5c85468..20c6903 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -25,21 +25,29 @@ * ************************************************************* */ $EM_CONF[$_EXTKEY] = array( - 'title' => 'Web2PDF', - 'description' => 'This Extension renders the pagecontent to a PDF file. It supports css and uses the library mPDF. This extension is based on the pdf_generator2.', - 'category' => 'plugin', - 'author' => 'Mittwald CM Service', - 'author_company' => 'Mittwald CM Service', - 'author_email' => 'opensource@mittwald.de', - 'dependencies' => 'extbase,fluid', - 'state' => 'stable', - 'clearCacheOnLoad' => '1', - 'version' => '1.1-dev', - 'constraints' => array( - 'depends' => array( - 'typo3' => '6.0.0-7.6.99', - 'extbase' => '6.0.0-7.6.99', - 'fluid' => '6.0.0-7.6.99', - ) + 'title' => 'Web2PDF', + 'description' => 'This Extension renders the pagecontent to a PDF file. It supports css and uses the library mPDF. This extension is based on the pdf_generator2.', + 'category' => 'plugin', + 'author' => 'Mittwald CM Service', + 'author_company' => 'Mittwald CM Service', + 'author_email' => 'opensource@mittwald.de', + 'dependencies' => 'extbase,fluid', + 'state' => 'stable', + 'clearCacheOnLoad' => '1', + 'version' => '1.1-dev', + 'constraints' => array( + 'depends' => array( + 'typo3' => '6.0.0-7.6.99', + 'extbase' => '6.0.0-7.6.99', + 'fluid' => '6.0.0-7.6.99', ) + ), + 'autoload' => array( + 'psr-4' => array( + 'Mittwald\\Web2pdf\\' => 'Classes' + ), + 'classmap' => array( + 'Vendor/mpdf/mpdf' + ) + ), );