Save default langueg and other language in export of website
This commit is contained in:
parent
7a37296832
commit
efe6eab5f3
@ -1091,6 +1091,12 @@ class Website extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
$line .= "\n-- For Dolibarr v14+ --\n";
|
||||
$line .= "UPDATE llx_website SET fk_default_lang = '".$this->fk_default_lang."' WHERE rowid = __WEBSITE_ID__;\n";
|
||||
$line .= "UPDATE llx_website SET otherlang = '".$this->otherlang."' WHERE rowid = __WEBSITE_ID__;\n";
|
||||
$line .= "\n";
|
||||
fputs($fp, $line);
|
||||
|
||||
fclose($fp);
|
||||
if (!empty($conf->global->MAIN_UMASK)) {
|
||||
@chmod($filesql, octdec($conf->global->MAIN_UMASK));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user