Improved the compiler, added the option to add the update server file to the zipped package, fixed a few bugs.

This commit is contained in:
2016-11-22 07:48:55 +02:00
parent 07f9344265
commit 05160b499f
388 changed files with 4420 additions and 3975 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.0
@build 31st October, 2016
@version 2.2.2
@build 22nd November, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
@ -1465,13 +1465,13 @@ abstract class ComponentbuilderHelper
return implode($key);
}
public static function getCryptKey($type)
public static function getCryptKey($type, $default = null)
{
if ('basic' == $type)
{
// Get the global params
$params = JComponentHelper::getParams('com_componentbuilder', true);
$basic_key = $params->get('basic_key', null);
$basic_key = $params->get('basic_key', $default);
if ($basic_key)
{
return $basic_key;