Re: [Dolibarr-dev] customizing dolibarr scripts

2014-08-13 Par sujet Maxime Kohlhaas
Hi. I agree, I got used to put "dol_include_once" function whenever I need an inclusion. Even for core modules. Is there any disadvantage doing this ? Bien cordialement, -- *Maxime KohlhaasConsultant associé**ATM Consulting* *+33 6 33 42 92 43* 2014-08-12 18:14 GMT+02:00 Christophe Battarel

Re: [Dolibarr-dev] customizing dolibarr scripts

2014-08-13 Par sujet Marcos García
It is. Performance decreases because every time you include a file, it has to check if it has been included yet or not. Regards, *Marcos García* marcos...@gmail.com 2014-08-13 10:25 GMT+02:00 Maxime Kohlhaas : > Hi. > > I agree, I got used to put "dol_include_once" function whenever I need

Re: [Dolibarr-dev] customizing dolibarr scripts

2014-08-13 Par sujet Florian HENRY
Laurent made a study about performance lost when using only this method and he tell us dirung the devcamp there is a real difference. After that, If you have 3000 dolibarr install on only one server, you can see the difference but with one dolibarr per server it will not impact so much. I will b

Re: [Dolibarr-dev] customizing dolibarr scripts

2014-08-13 Par sujet Marcos García
What about looking for a better solution that avoids us from constantly including dependencies and allow Dolibarr to handle them? Regards, *Marcos García* marcos...@gmail.com 2014-08-13 11:19 GMT+02:00 Florian HENRY : > Laurent made a study about performance lost when using only this metho