Avatar

2.3.5 Contact Form Error Info (Bugs)

by Milo ⌂, Saturday, February 27, 2016, 08:52 (630 days ago) @ Milo
edited by Milo, Saturday, February 27, 2016, 09:04

Hi,

Maybe $config_overwrite is not true?!?

Okay, I found the reason. In index.php, the configuration for smarty is given. In line 42:

$smarty->config_overwrite = false;

is setted. Thus, Alex overwrite the default settings to use e.g. array-values (in another context).

From the manual:
If a particular section is loaded, then the global variables and the variables from that section are also loaded. If a variable exists both as a global and in a section, the section variable is used. If you name two variables the same within a section, the last one will be used unless $config_overwrite is disabled.

One solution is to rename the keys in the lang-file to avoid conflicts but maybe there is a better solution...

/Micha

--
Surveyor-Software: Geodetic Network Adjustment & Deformation-Analysis and Transformation


Complete thread:

 RSS Feed of thread

powered by my little forum