(revisited) Changed SQL statement extraction from struktur.sql to recognize ; correctly now with \r\n

This commit is contained in:
Xenomporio 2022-05-18 12:21:03 +02:00
parent 5b2b4efc67
commit de3027eb60

View File

@ -138,7 +138,7 @@
mysqli_query($db,"SET SESSION SQL_MODE :=''");
//mysqli_real_escape_string($db,$import);
$import = explode (";\n", $import);
$import = explode (";\r\n", $import);
foreach ($import as $imp){
if ($imp != '' && $imp != ' ' && trim($imp) != ''){