From 8e53e52db3ed595c8200b39865ff7f2ebb507948 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Thu, 29 Jan 2015 19:00:50 +0700 Subject: [PATCH] fix installer --- application/install/backend/step.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/install/backend/step.php b/application/install/backend/step.php index 227318e9..58339dcd 100644 --- a/application/install/backend/step.php +++ b/application/install/backend/step.php @@ -163,7 +163,7 @@ abstract class InstallStep if (isset($aParams['prefix'])) { $sFileQuery = str_replace('prefix_', $aParams['prefix'], $sFileQuery); } - $aQuery = preg_split("#;\n|\r#", $sFileQuery, null, PREG_SPLIT_NO_EMPTY); + $aQuery = preg_split("#;(\n|\r)#", $sFileQuery, null, PREG_SPLIT_NO_EMPTY); /** * Массив для сбора ошибок */