Implementation of the switches and update the update server.

This commit is contained in:
2017-02-02 14:17:31 +02:00
parent 655708cfa3
commit e0efef54e9
169 changed files with 218 additions and 181 deletions

View File

@ -345,8 +345,8 @@ class Compiler extends Infusion
// link canges made to views into the file license
protected function fixLicenseValues($data)
{
// check if these files have its own config data
if (isset($data['config']) && ComponentbuilderHelper::checkArray($data['config']))
// check if these files have its own config data)
if (isset($data['config']) && ComponentbuilderHelper::checkArray($data['config']) && (!isset($this->componentData->mvc_versiondate) || $this->componentData->mvc_versiondate == 1))
{
foreach ($data['config'] as $key => $value)
{

View File

@ -2976,15 +2976,33 @@ class Get
{
case 1:
//xxx[REPLACED$$$$]xxx///1
return array(
'start' => '/***[REPLACED$$$$]***///'.$id,
'end' => '/***[/REPLACED$$$$]***/');
if (!isset($this->componentData->add_placeholders) || $this->componentData->add_placeholders == 1)
{
return array(
'start' => '/***[REPLACED$$$$]***///'.$id,
'end' => '/***[/REPLACED$$$$]***/');
}
else
{
return array(
'start' => '',
'end' => '');
}
break;
case 2:
//xxx[INSERTED$$$$]xxx///1
return array(
if (!isset($this->componentData->add_placeholders) || $this->componentData->add_placeholders == 1)
{
return array(
'start' => '/***[INSERTED$$$$]***///'.$id,
'end' => '/***[/INSERTED$$$$]***/');
}
else
{
return array(
'start' => '',
'end' => '');
}
break;
}
return false;

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@version 2.2.10
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@version 2.2.10
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@version 2.2.10
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@version 2.2.10
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@version 2.2.10
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.9
@version 2.2.10
@build 2nd February, 2017
@created 30th April, 2015
@package Component Builder