1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Fixes #849 and corrects a table-name issue with plugin upgrades.

This commit is contained in:
Cameron
2015-02-01 02:07:56 -08:00
parent 0e56c66810
commit 2a4caa6cb7
3 changed files with 129 additions and 26 deletions

View File

@@ -2098,7 +2098,7 @@ class pluginBuilder
foreach($plugFolders as $dir)
{
$lanDir[$dir] = $dir;
if(file_exists(e_PLUGIN.$dir."/admin_config.php"))
if(E107_DEBUG_LEVEL == 0 && file_exists(e_PLUGIN.$dir."/admin_config.php"))
{
continue;
}
@@ -2122,7 +2122,7 @@ class pluginBuilder
</colgroup>
<tr>
<td>Build an admin-area and xml file for: </td>
<td><div class='input-append'>".$frm->open('createPlugin','get').$frm->select("newplugin",$newDir).$frm->admin_button('step', 2,'other','Go')."</div> ".$frm->checkbox('createFiles',1,1,'Create Files').$frm->close()."</td>
<td><div class='input-append'>".$frm->open('createPlugin','get',e_SELF."?mode=create").$frm->select("newplugin",$newDir).$frm->admin_button('step', 2,'other','Go')."</div> ".$frm->checkbox('createFiles',1,1,'Create Files').$frm->close()."</td>
</tr>
<tr>
@@ -2663,7 +2663,7 @@ TEMPLATE;
{
$frm = e107::getForm();
$modes = array("main"=>"Main Area","cat"=>"Categories","other1"=>"Other 1","other2"=>"Other 2");
$modes = array("main"=>"Main Area","cat"=>"Categories","other1"=>"Other 1","other2"=>"Other 2","other3"=>"Other 3","other4"=>"Other 4");
// echo "TABLE COUNT= ".$this->tableCount ;