mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
(revisited) Changed SQL statement extraction from struktur.sql to recognize ; correctly now with \r\n
This commit is contained in:
parent
5b2b4efc67
commit
de3027eb60
@ -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) != ''){
|
||||
|
Loading…
Reference in New Issue
Block a user