Moved to new package for TCPDF
Previous one has been deprecated by upstream
This commit is contained in:
parent
93d6ae3c16
commit
c3ed30ffd8
@ -21,7 +21,7 @@
|
|||||||
"mobiledetect/mobiledetectlib": "2.8.3",
|
"mobiledetect/mobiledetectlib": "2.8.3",
|
||||||
"phpoffice/phpexcel": "1.8.1",
|
"phpoffice/phpexcel": "1.8.1",
|
||||||
"restler/framework": "^3.0",
|
"restler/framework": "^3.0",
|
||||||
"tecnick.com/tcpdf": "6.2.6",
|
"tecnickcom/tcpdf": "6.2.6",
|
||||||
"raven/raven": "^0.12.0",
|
"raven/raven": "^0.12.0",
|
||||||
"firephp/firephp-core": "^0.4.0"
|
"firephp/firephp-core": "^0.4.0"
|
||||||
},
|
},
|
||||||
|
|||||||
5
composer.lock
generated
5
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "1c6ca041da94484642adcbde492ad50b",
|
"hash": "335eb7bd5c2eb116fd2da80b4f48e857",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "ccampbell/chromephp",
|
"name": "ccampbell/chromephp",
|
||||||
@ -422,7 +422,7 @@
|
|||||||
"time": "2015-08-04 07:52:49"
|
"time": "2015-08-04 07:52:49"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tecnick.com/tcpdf",
|
"name": "tecnickcom/tcpdf",
|
||||||
"version": "6.2.6",
|
"version": "6.2.6",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -482,7 +482,6 @@
|
|||||||
"pdf417",
|
"pdf417",
|
||||||
"qrcode"
|
"qrcode"
|
||||||
],
|
],
|
||||||
"abandoned": "tecnickcom/tcpdf",
|
|
||||||
"time": "2015-01-28 18:51:40"
|
"time": "2015-01-28 18:51:40"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@ -69,7 +69,7 @@ Add tcpdi.php
|
|||||||
Add tcpdi_parser.php and replace:
|
Add tcpdi_parser.php and replace:
|
||||||
require_once(dirname(__FILE__).'/include/tcpdf_filters.php');
|
require_once(dirname(__FILE__).'/include/tcpdf_filters.php');
|
||||||
with:
|
with:
|
||||||
require_once(dirname(__FILE__).'/../tecnick.com/tcpdf/include/tcpdf_filters.php');
|
require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -27,8 +27,8 @@
|
|||||||
* @since 2008-03-04
|
* @since 2008-03-04
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('../../htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php');
|
require_once('../../htdocs/includes/tecnickcom/tcpdf/config/tcpdf_config.php');
|
||||||
require_once('../../htdocs/includes/tecnick.com/tcpdf/tcpdf.php');
|
require_once('../../htdocs/includes/tecnickcom/tcpdf/tcpdf.php');
|
||||||
|
|
||||||
// create new PDF document
|
// create new PDF document
|
||||||
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
|
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
|
||||||
|
|||||||
@ -47,8 +47,8 @@ print 'Files has been created. Check its name from your explorer'."\n";
|
|||||||
* @since 2008-09-15
|
* @since 2008-09-15
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('../../htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php');
|
require_once('../../htdocs/includes/tecnickcom/tcpdf/config/tcpdf_config.php');
|
||||||
require_once('../../htdocs/includes/tecnick.com/tcpdf/tcpdf.php');
|
require_once('../../htdocs/includes/tecnickcom/tcpdf/tcpdf.php');
|
||||||
|
|
||||||
// create new PDF document
|
// create new PDF document
|
||||||
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
|
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
|
||||||
|
|||||||
@ -208,7 +208,7 @@ define('MAIN_DB_PREFIX',$dolibarr_main_db_prefix);
|
|||||||
// Path to root libraries
|
// Path to root libraries
|
||||||
if (! defined('ADODB_PATH')) { define('ADODB_PATH', (!isset($dolibarr_lib_ADODB_PATH))?DOL_DOCUMENT_ROOT.'/includes/adodbtime/':(empty($dolibarr_lib_ADODB_PATH)?'':$dolibarr_lib_ADODB_PATH.'/')); }
|
if (! defined('ADODB_PATH')) { define('ADODB_PATH', (!isset($dolibarr_lib_ADODB_PATH))?DOL_DOCUMENT_ROOT.'/includes/adodbtime/':(empty($dolibarr_lib_ADODB_PATH)?'':$dolibarr_lib_ADODB_PATH.'/')); }
|
||||||
if (! defined('FPDF_PATH')) { define('FPDF_PATH', (empty($dolibarr_lib_FPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdf/':$dolibarr_lib_FPDF_PATH.'/'); } // Used only for package that can't include tcpdf
|
if (! defined('FPDF_PATH')) { define('FPDF_PATH', (empty($dolibarr_lib_FPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdf/':$dolibarr_lib_FPDF_PATH.'/'); } // Used only for package that can't include tcpdf
|
||||||
if (! defined('TCPDF_PATH')) { define('TCPDF_PATH', (empty($dolibarr_lib_TCPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/tecnick.com/tcpdf/':$dolibarr_lib_TCPDF_PATH.'/'); }
|
if (! defined('TCPDF_PATH')) { define('TCPDF_PATH', (empty($dolibarr_lib_TCPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/tecnickcom/tcpdf/':$dolibarr_lib_TCPDF_PATH.'/'); }
|
||||||
if (! defined('FPDI_PATH')) { define('FPDI_PATH', (empty($dolibarr_lib_FPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdfi/':$dolibarr_lib_FPDI_PATH.'/'); }
|
if (! defined('FPDI_PATH')) { define('FPDI_PATH', (empty($dolibarr_lib_FPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdfi/':$dolibarr_lib_FPDI_PATH.'/'); }
|
||||||
if (! defined('TCPDI_PATH')) { define('TCPDI_PATH', (empty($dolibarr_lib_TCPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/tcpdi/':$dolibarr_lib_TCPDI_PATH.'/'); }
|
if (! defined('TCPDI_PATH')) { define('TCPDI_PATH', (empty($dolibarr_lib_TCPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/tcpdi/':$dolibarr_lib_TCPDI_PATH.'/'); }
|
||||||
if (! defined('NUSOAP_PATH')) { define('NUSOAP_PATH', (!isset($dolibarr_lib_NUSOAP_PATH))?DOL_DOCUMENT_ROOT.'/includes/nusoap/lib/':(empty($dolibarr_lib_NUSOAP_PATH)?'':$dolibarr_lib_NUSOAP_PATH.'/')); }
|
if (! defined('NUSOAP_PATH')) { define('NUSOAP_PATH', (!isset($dolibarr_lib_NUSOAP_PATH))?DOL_DOCUMENT_ROOT.'/includes/nusoap/lib/':(empty($dolibarr_lib_NUSOAP_PATH)?'':$dolibarr_lib_NUSOAP_PATH.'/')); }
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// include class for decoding filters
|
// include class for decoding filters
|
||||||
require_once(dirname(__FILE__).'/../tecnick.com/tcpdf/include/tcpdf_filters.php');
|
require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php');
|
||||||
|
|
||||||
if (!defined ('PDF_TYPE_NULL'))
|
if (!defined ('PDF_TYPE_NULL'))
|
||||||
define ('PDF_TYPE_NULL', 0);
|
define ('PDF_TYPE_NULL', 0);
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user