1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Fix for plugin sql file builder fail.

This commit is contained in:
Cameron
2018-08-07 09:49:38 -07:00
parent a64da2df86
commit 92e381f794

View File

@@ -3653,7 +3653,7 @@ class pluginBuilder
{
$createData = str_replace("`".MPREFIX, '`', $data[1]);
$createData .= ";";
if(!file_exists($file) && empty($this->createFiles))
if(!file_exists($file)/* && empty($this->createFiles)*/)
{
file_put_contents($file,$createData);
}
@@ -3676,7 +3676,7 @@ class pluginBuilder
$mes = e107::getMessage();
$tp = e107::getParser();
$newplug = $tp->filter($_GET['newplugin'],'file');
$this->pluginName = $newplug;