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 <max...@atm-consulting.fr>: > 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 <%2B33%206%2033%2042%2092%2043>* > > > 2014-08-12 18:14 GMT+02:00 Christophe Battarel < > christophe.batta...@altairis.fr>: > > Hello everybody, >> I wonder if there are reasons to keep require_once lines in dolibarr >> except for performance issues. >> Because if we replace every require_once by dol_include_once, it will be >> possible to customize any script of dolibarr by putting them in the custom >> directory with the right pathes. >> Best regards >> Christophe >> >> -- >> Christophe Battarel >> Responsable technique >> sarl altairis >> Informatique et Web en Grésivaudan >> 33 Grande Rue >> 38570 Goncelin >> 09 52 71 70 96 (appel local) >> cont...@altairis.fr >> http://www.altairis.fr >> >> >> _______________________________________________ >> Dolibarr-dev mailing list >> Dolibarr-dev@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev >> > > > _______________________________________________ > Dolibarr-dev mailing list > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > >
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev