The readme for 2.2.2 talks about saving your config and then pasting it back in after upgrading, but I have questions about what exactly this should look like.
The config.dtregister.php that is installed is:
?php
global $database;
$sql=\"Select config_key,config_value From #__dtregister_config\";
$database->setQuery($sql);
$rowConfigs=$database->loadObjectList();
for($i=0,$n=count($rowConfigs);$i<$n;$i++)
{
$rowConfig=$rowConfigs[$i];
$name=$rowConfig->config_key;
$value=$rowConfig->config_value;
//Set the name
$$name=$value;
}
?
But the old 2.2.0 version is just a list of name=value pairs.
Where exactly should the list of these be pasted into the new version? In place of $$name=$value?
What is the purpose of this file? To load the data into the database? Then once that\'s done, this file is no longer needed or used? I think that I read that 2.2.2 no longer uses this file.
Right now, I have the list of name-value pairs outside the bracket, and am having to edit the file directly to make changes.
As of 2.2.2, the config is saved in the database so on future upgrades, you don\'t lose your config or have to worry about saving it. When upgrading to 2.2.2, you can save your config file just for the sake of having the ability to copy and paste any text modifications you have made to things such as the custom email messages. Do NOT make any changes to the new config file.