mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fixes #970 - strip out "IF NOT EXISTS" from MySQL during plugin install.
This commit is contained in:
@@ -1103,6 +1103,7 @@ class e107plugin
|
||||
{
|
||||
|
||||
$tab = str_replace("TYPE=MyISAM","ENGINE=MyISAM",$tab);
|
||||
$tab = str_replace("IF NOT EXISTS", "", $tab);
|
||||
|
||||
if(!preg_match("/MyISAM.*CHARSET ?= ?utf8/i",$tab))
|
||||
{
|
||||
|
Reference in New Issue
Block a user