1
0
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:
Cameron
2015-04-23 10:04:23 -07:00
parent 9708756548
commit f7c94cc88b

View File

@@ -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))
{