Improved the custom code area to now allow custom code in custom code with the help of placheholders. Removed the static wiki page, and relinked to the github wiki.

This commit is contained in:
2018-11-27 15:05:47 +02:00
parent 180f1cec6d
commit a52d230aeb
13 changed files with 93 additions and 416 deletions

View File

@ -3467,6 +3467,16 @@ class com_componentbuilderInstallerScript
}
}
}
// target version less then 2.9.8
if (count($this->JCBversion) == 3 && $this->JCBversion[0] <= 2 && (($this->JCBversion[1] == 9 && $this->JCBversion[2] <= 7) || $this->JCBversion[1] < 9))
{
// check if this install has the wiki file (just remove it)
$wiki_menu = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/wiki_menu.txt';
if (JFile::exists($wiki_menu))
{
JFile::delete($wiki_menu);
}
}
}
}
// do any install needed