1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

fix install - import sql

This commit is contained in:
Mzhelskiy Maxim 2014-08-17 12:36:12 +07:00
parent 7a622e4c62
commit 9b4388fa76

View file

@ -131,7 +131,7 @@ abstract class InstallStep {
$sFileQuery = @file_get_contents($sFile);
if(isset($aParams['prefix'])) $sFileQuery = str_replace('prefix_', $aParams['prefix'], $sFileQuery);
$aQuery=explode(';',$sFileQuery);
$aQuery=preg_split("#;\n|\r#",$sFileQuery,null,PREG_SPLIT_NO_EMPTY);
/**
* Массив для сбора ошибок
*/