|
From: | Laurent Destailleur (eldy) |
Subject: | Re: [Dolibarr-dev] DOL_URL_ROOT_ALT removed ? |
Date: | Sat, 30 Nov 2013 12:10:19 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
Le 30/11/2013 08:13, Christophe
Battarel a écrit :
Hello, This constant should not be used by developers. Instead you must use dol_include_once('/mymodule/class/myclass.class.php') If your module use the "dol_include_once", include will works whatever is the location where you put your module (into root dir or into "custom" dir). You will also be compatible with old dolibarr version (3.4, 3.3, ...) You will also benefit a future feature to allow to have several "custom" dir. More information on page: http://wiki.dolibarr.org/index.php/Module_development#Create_or_modify_PHP_screens_.28optional.29 -- Eldy (Laurent Destailleur). EMail: address@hidden Web: http://www.destailleur.fr Dolibarr (Project leader): http://www.dolibarr.org To make a donation for Dolibarr project via Paypal: address@hidden AWStats (Author) : http://awstats.sourceforge.net To make a donation for AWStats project via Paypal: address@hidden AWBot (Author) : http://awbot.sourceforge.net CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net |
[Prev in Thread] | Current Thread | [Next in Thread] |