Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
This commit is contained in:
commit
aab9a2ff75
@ -244,6 +244,14 @@ print '<tr '.$bc[false].'><td style="padding-left: 8px">';
|
||||
<option value="ORACLE">ORACLE</option>
|
||||
<option value="POSTGRESQL">POSTGRESQL</option>
|
||||
</select> <br>
|
||||
<input type="checkbox" name="use_mysql_quick_param" value="yes" id="checkbox_use_quick" />
|
||||
<label for="checkbox_use_quick">
|
||||
<?php echo $form->textwithpicto(
|
||||
$langs->trans('ExportUseMySQLQuickParameter'),
|
||||
$langs->trans('ExportUseMySQLQuickParameterHelp')
|
||||
); ?>
|
||||
</label>
|
||||
<br/>
|
||||
<!-- <input type="checkbox" name="drop_database" value="yes"
|
||||
id="checkbox_drop_database" /> <label for="checkbox_drop_database"><?php echo $langs->trans("AddDropDatabase"); ?></label>
|
||||
-->
|
||||
|
||||
@ -262,6 +262,7 @@ class Utils
|
||||
if (GETPOST("disable_fk", "alpha") || $usedefault) $param.=" -K";
|
||||
if (GETPOST("sql_compat", "alpha") && GETPOST("sql_compat", "alpha") != 'NONE') $param.=" --compatible=".escapeshellarg(GETPOST("sql_compat", "alpha"));
|
||||
if (GETPOST("drop_database", "alpha")) $param.=" --add-drop-database";
|
||||
if (GETPOST("use_mysql_quick_param", "alpha"))$param.=" --quick";
|
||||
if (GETPOST("sql_structure", "alpha") || $usedefault)
|
||||
{
|
||||
if (GETPOST("drop", "alpha") || $usedefault) $param.=" --add-drop-table=TRUE";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user