Browse Source

Fixed Failed opening required vendor/tecnickcom/tcpdf/vendor/autoload.php

experimental
Janusz Tylek 2 years ago
parent
commit
da66540357
3 changed files with 1111 additions and 547 deletions
  1. +10
    -5
      composer.json
  2. +1099
    -540
      composer.lock
  3. +2
    -2
      modules/Libs/TCPDF/TCPDFCommon_0.php

+ 10
- 5
composer.json View File

@@ -12,14 +12,19 @@
"psy/psysh": "@stable",
"enyo/dropzone": "@stable",
"ezyang/htmlpurifier": "^4.9",
"moneyphp/money": "^3.0"
"moneyphp/money": "^3.0",
"tecnickcom/tcpdf": "^6.2"
},
"scripts": {
"post-install-cmd": [
"@composer -d=\"modules/CRM/Mail\" install",
"@composer -d=\"modules/Libs/PHPExcel\" install",
"@composer -d=\"modules/Libs/TCPDF\" install"
]
"@composer -d\"modules/CRM/Mail\" install",
"@composer -d\"modules/Libs/PHPExcel\" install",
"@composer -d\"vendor/tecnickcom/tcpdf\" install",
"@composer -d\"vendor/tecnickcom/tcpdf\" dump-autoload"
],
"post-update-cmd": [
"@composer -d\"vendor/tecnickcom/tcpdf\" dump-autoload"
]
},
"autoload": {
"psr-4": {


+ 1099
- 540
composer.lock
File diff suppressed because it is too large
View File


+ 2
- 2
modules/Libs/TCPDF/TCPDFCommon_0.php View File

@@ -16,8 +16,8 @@
*/
defined("_VALID_ACCESS") || die('Direct access forbidden');

define('TCPDF_DIR', 'modules/Libs/TCPDF/vendor/tecnickcom/tcpdf/');
require_once 'modules/Libs/TCPDF/vendor/autoload.php';
define('TCPDF_DIR', 'vendor/tecnickcom/tcpdf/');
require_once 'vendor/tecnickcom/tcpdf/vendor/autoload.php';

class Libs_TCPDFCommon extends ModuleCommon {
public static $default_font = 'dejavusanscondensed';//'Helvetica';


Loading…
Cancel
Save