Revision 1592
Added by darkviper almost 13 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
=========================== add small Features 2.8.2 ========================== |
14 |
31 Jan-2012 Build 1592 Werner v.d.Decken(DarkViper) |
|
15 |
# little Typo-fix in database::SqlImport(). (grummel) |
|
14 | 16 |
31 Jan-2012 Build 1591 Werner v.d.Decken(DarkViper) |
15 | 17 |
# little Regex-fix in database::SqlImport(). |
16 | 18 |
25 Jan-2012 Build 1590 Werner v.d.Decken(DarkViper) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.2'); |
54 |
if(!defined('REVISION')) define('REVISION', '1591');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1592');
|
|
55 | 55 |
if(!defined('SP')) define('SP', 'SP2'); |
branches/2.8.x/wb/framework/class.database.php | ||
---|---|---|
306 | 306 |
while ( sizeof($aSql) > 0 ) { |
307 | 307 |
$sSqlLine = trim(array_shift($aSql)); |
308 | 308 |
if (!preg_match('/^[-\/]+.*/', $sSqlLine)) { |
309 |
$sql = $sql.' '.$sql_line;
|
|
309 |
$sql = $sql.' '.$sSqlLine;
|
|
310 | 310 |
if ((substr($sql,-1,1) == ';')) { |
311 | 311 |
$sql = trim(str_replace( $aSearch, $aReplace, $sql)); |
312 | 312 |
if (!($bPreserve && preg_match('/^\s*DROP TABLE IF EXISTS/siU', $sql))) { |
Also available in: Unified diff
little Typo-fix in database::SqlImport()