2.3.5 Contact Form Error Info (Bugs)

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


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...


applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Complete thread:

 RSS Feed of thread

powered by my little forum