Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | static public function checkContribLibs() |
||
21 | { |
||
22 | // avoid diuble class |
||
23 | static $done = false; |
||
24 | if ($done === true) { |
||
25 | return; |
||
26 | } |
||
27 | $done = true; |
||
28 | |||
29 | // start check |
||
30 | #if (!class_exists(Omnipay::class)) { |
||
31 | # // Install composer? |
||
32 | # return; |
||
33 | #} |
||
34 | GeneralUtility::requireFile(ExtensionManagementUtility::extPath('shopize', |
||
35 | 'Resources/Private/Contrib/vendor/autoload.php')); |
||
36 | } |
||
37 | } |
||
38 |