Code comment
This commit is contained in:
parent
d59824cd69
commit
c119d7dbb9
@ -45,10 +45,10 @@ class Translate
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param string $dir Force directory that contains /langs subdirectory (value is sometine '..' like into install/* pages or support/* pages).
|
* @param string $dir Force directory that contains /langs subdirectory (value is sometimes '..' like into install/* pages or support/* pages). Use '' by default.
|
||||||
* @param Conf $conf Object with Dolibarr configuration
|
* @param Conf $conf Object with Dolibarr configuration
|
||||||
*/
|
*/
|
||||||
function __construct($dir,$conf)
|
function __construct($dir, $conf)
|
||||||
{
|
{
|
||||||
if (! empty($conf->file->character_set_client)) $this->charset_output=$conf->file->character_set_client; // If charset output is forced
|
if (! empty($conf->file->character_set_client)) $this->charset_output=$conf->file->character_set_client; // If charset output is forced
|
||||||
if ($dir) $this->dir=array($dir);
|
if ($dir) $this->dir=array($dir);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user