logic fixed
This commit is contained in:
@@ -81,8 +81,11 @@ if (isset($btnLDI) && ($textfile != 'none')) {
|
|||||||
$tmp_query = "SHOW VARIABLES LIKE 'local\_infile'";
|
$tmp_query = "SHOW VARIABLES LIKE 'local\_infile'";
|
||||||
$result = PMA_mysql_query($tmp_query);
|
$result = PMA_mysql_query($tmp_query);
|
||||||
if ($result != FALSE && mysql_num_rows($result) > 0) {
|
if ($result != FALSE && mysql_num_rows($result) > 0) {
|
||||||
|
$tmp = PMA_mysql_fetch_row($result);
|
||||||
|
if ($tmp[1] == 'ON') {
|
||||||
$query .= ' LOCAL';
|
$query .= ' LOCAL';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
mysql_free_result($result);
|
mysql_free_result($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user