| @@ 1365-1368 (lines=4) @@ | ||
| 1362 | $category = mysqli_real_escape_string($conn, $modulePlugin[6]); |
|
| 1363 | $leg_names = ''; |
|
| 1364 | $disabled = $modulePlugin[9]; |
|
| 1365 | if (array_key_exists(7, $modulePlugin)) { |
|
| 1366 | // parse comma-separated legacy names and prepare them for sql IN clause |
|
| 1367 | $leg_names = "'" . implode("','", |
|
| 1368 | preg_split('/\s*,\s*/', mysqli_real_escape_string($conn, $modulePlugin[7]))) . "'"; |
|
| 1369 | } |
|
| 1370 | if (!file_exists($filecontent)) { |
|
| 1371 | echo " $name: " . $_lang['unable_install_plugin'] . " '$filecontent' " . $_lang['not_found'] . PHP_EOL; |
|
| @@ 534-537 (lines=4) @@ | ||
| 531 | $category = mysqli_real_escape_string($conn, $modulePlugin[6]); |
|
| 532 | $leg_names = ''; |
|
| 533 | $disabled = $modulePlugin[9]; |
|
| 534 | if(array_key_exists(7, $modulePlugin)) { |
|
| 535 | // parse comma-separated legacy names and prepare them for sql IN clause |
|
| 536 | $leg_names = "'" . implode("','", preg_split('/\s*,\s*/', mysqli_real_escape_string($conn, $modulePlugin[7]))) . "'"; |
|
| 537 | } |
|
| 538 | if (!file_exists($filecontent)) |
|
| 539 | echo "<p> $name: <span class=\"notok\">" . $_lang['unable_install_plugin'] . " '$filecontent' " . $_lang['not_found'] . ".</span></p>"; |
|
| 540 | else { |
|