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 be agree with Christophe and Maxime, I prefer a full customizable dolibarr rather than cloud performance oriented.

Florian Henry
+33 6 03 76 48 07
[email protected]
http://www.open-concept.pro
Twitter : @_Open_Concept_
Google+ : https://www.google.com/+Open-conceptPro

Le 13/08/2014 11:06, Marcos García a écrit :
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*

    [email protected] <mailto:[email protected]>



2014-08-13 10:25 GMT+02:00 Maxime Kohlhaas <[email protected] <mailto:[email protected]>>:

    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 Kohlhaas
    *Consultant associé
    //ATM Consulting/
    /+33 6 33 42 92 43 <tel:%2B33%206%2033%2042%2092%2043>/


    2014-08-12 18:14 GMT+02:00 Christophe Battarel
    <[email protected]
    <mailto:[email protected]>>:

        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 <tel:09%2052%2071%2070%2096> (appel local)
        [email protected] <mailto:[email protected]>
        http://www.altairis.fr


        _______________________________________________
        Dolibarr-dev mailing list
        [email protected] <mailto:[email protected]>
        https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



    _______________________________________________
    Dolibarr-dev mailing list
    [email protected] <mailto:[email protected]>
    https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à