This commit is contained in:
Laurent Destailleur
2011-01-14 20:23:09 +00:00
parent bd1f03decc
commit 04c1e6f7e6

View File

@@ -93,9 +93,9 @@ function dol_include_once($relpath)
/** /**
* Return path of url or filesystem. Return default_root or alternate root if file_exist fails. * Return path of url or filesystem. Return default_root or alternate root if file_exist fails.
* @param path Relative or absolute path to file (Ie: mydir/myfile, ../myfile, ...) * @param path Relative path to file (if mode=0, ie: mydir/myfile, ../myfile, ...) or relative url (if mode=1).
* @param mode 0=Used for a Filesystem path, 1=Used for an URL path * @param mode 0=Used for a Filesystem path, 1=Used for an URL path
* @return string Full filsystem path (if mode=0), Relative url path (if mode=1) * @return string Full filsystem path (if mode=0), Full url path (if mode=1)
*/ */
function dol_buildpath($path,$mode=0) function dol_buildpath($path,$mode=0)
{ {