Great! Thanks for taking the time to fix the root problem.
Le 8 août 2014 12:40, "Marcos García" a écrit :
> Hi all:
>
> The developer of the TCPDF project, Nicola Asuni, commented in the bug
> report telling that getmypid will be removed in next release. So I assume
> we can update the library a
Hi all:
The developer of the TCPDF project, Nicola Asuni, commented in the bug
report telling that getmypid will be removed in next release. So I assume
we can update the library and replace our changes in 3.7 version.
Check http://sourceforge.net/p/tcpdf/bugs/602/
Regards,
*Marcos García*
ma
I've commented the problem to the author in the bug report made by Régis in
2011: https://sourceforge.net/p/tcpdf/bugs/602/
We should consider updating TCPDF library in 3.7 once they patch that.
Regards,
*Marcos García*
marcos...@gmail.com
2014-08-04 12:08 GMT+02:00 Doursenaud, Raphaël
:
I don't think using dol_getmypid in scripts is a wise idea.
The whole purpose of outputting the PID in the CLI is to be able to kill
the process. We don't want to display a random number!
People having the right to execute scripts on their hosting should have the
right to use the getmypid() functio
Hello Marcos
It come from the french forum
(http://www.dolibarr.fr/forum/3-installation/50977-probleme-d-installation-chez-un-hebergeur-gratuit)
Some free hosting service remove getmypid for security reason. As this
is not a real must have for dolibarr running, a developper send this
pull requ
It seems what we did was not enough.
Some php instalattion does not provide the feature AND does not allow code
to declare it. A very not common setup (probably need to hack php to have
this) but may be result of security php addon.
Don't want to take risk, so I included the patch.
Changing code i
Hello
Here is the french discussion why i proposed that:
http://www.dolibarr.fr/forum/3-installation/50977-probleme-d-installation-chez-un-hebergeur-gratuit
On some host checking getmypid() say's function doses'nt exist but it's
impossible to redeclare.
And just because of this function, you loose
Hi all:
I've noticed a PR made by frederic (
https://github.com/Dolibarr/dolibarr/pull/1792) was accepted, and so
getmypid was renamed to dol_getmypid.
My question is: why was that made? The check if function does not exists
before recreating the function getmypid wasn't enough?
I brought the di