HEX
Server: Apache
System: Linux darrell.nocdirect.com 4.18.0-513.18.2.el8_9.x86_64 #1 SMP Sat Mar 30 06:10:41 EDT 2024 x86_64
User: joderbya (1358)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/joderbya/quick-step-ei.com/dollibar/dev/dolibarr_changes.txt
This file describe changes made on external library after beeing included
in Dolibarr root.



ALL:
----
Replace "& new" by "new"



CKEDITOR:
---------
* In ckeditor/ckeditor/contents.css
Replace:
	margin: 20px;
With
	margin: 5px;



NUSOAP:
-------
* In file nusoap.php, to avoid a warning,
Replace
	if (isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
By
	if (! is_array($this->methodreturn) && isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {

* In file nusoap.php, to avoid a warning,
Replace call to serialize_val with no bugged value



FPDI:
-----
Replace:
	$this->_readXref($this->_xref, $this->_findXref());
with:
    try {
	        $this->_readXref($this->_xref, $this->_findXref());
    }
    catch(Exception $e)
    {
        	print $e->getMessage();
        	exit;
    }



TCPDF:
------
* To avoid to have QRcode changed because generated with a random mask, replace
define('QR_FIND_FROM_RANDOM', 2);
with
define('QR_FIND_FROM_RANDOM', false);

* Removed useless directories (examples, tools)

* Fix
 	// initialize subsetchars
	$subsetchars = array();
into
	// initialize subsetchars
	$subsetchars = array_fill(0, 256, true);

* Optionnaly, removed all fonts except 
    dejavusans* (used by greek, arab, persan, romanian, turkish), 
    freemono* (russian), 
    cid*+msungstdlight+stsongstdlight+uni2cid* (chinese), 
    helvetica* (all other languages),
    zapfdingbats.php (for special chars like form checkboxes)

* Optionnaly, made freemono the default monotype font because we removed courier
In htdocs/includes/tcpdf/tcpdf.php
-       protected $default_monospaced_font = 'courier';
+       protected $default_monospaced_font = 'freemono';



TCPDI:
------
Add fpdf_tpl.php 1.2
Add tcpdi.php
Add tcpdi_parser.php and replace:
require_once(dirname(__FILE__).'/include/tcpdf_filters.php');
with:
require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php');




JSGANTT:
--------
* Replace in function JSGantt.taskLink
var OpenWindow=window.open(pRef, "newwin", "height="+vHeight+",width="+vWidth);
with
// LDR To open in same window
//var OpenWindow=window.open(pRef, "newwin", "height="+vHeight+",width="+vWidth);
window.location.href=pRef
* Replace hard coded string with i18n["String"];


JCROP:
------
* Remove analytics tag into file index.html


JQUERYFILETREE:
---------------
* Remove directory htdocs/includes/jquery/plugins/jqueryFileTree/connectors



RESTLER:
--------

* Add 2 lines into function     
	private function alias($className, $currentClass)
    {
		...
to get 

	private function alias($className, $currentClass)
    {
        if ($className == 'Luracast\Restler\string') return;
        if ($className == 'Luracast\Restler\mixed') return;
		...