Skip to content

Commit

Permalink
Merge pull request #997 from FHenry/3.4
Browse files Browse the repository at this point in the history
3.4
  • Loading branch information
eldy committed May 28, 2013
2 parents 485c7bc + 8a726ab commit c4b12a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions htdocs/core/lib/functions.lib.php
Expand Up @@ -223,10 +223,9 @@ function dol_getprefix()

/**
* Make an include_once using default root and alternate root if it fails.
* WARNING: In most cases, you should not use this function:
* To link to a core file, use include(DOL_DOCUMENT_ROOT.'/pathtofile')
* To link to a module file from a module file, use include './mymodulefile';
* To link to a module file from a core file, then this function can be used
* To link to a module file from a core file, then this function can be used (call by hook / trigger / speciales pages)
*
* @param string $relpath Relative path to file (Ie: mydir/myfile, ../myfile, ...)
* @param string $classname Class name
Expand Down

0 comments on commit c4b12a6

Please sign in to comment.