We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following files:
test.cfg:
test="Hi"
test.html
{include file='test2.html'} {#test#}-test.html
test2.html
{config_load file='test.cfg' scope='parent'} {#test#}-test2.html
test.php
$smarty->display('test.html');
Smarty4 output:
Hi-test2.html Hi-test.html
Smarty5 output:
Hi-test2.html -test.html
Also with scope='global' in config_load this case is not working.
Is it supposed to be like this? (and should I call config_load in every template that uses the variables? or is this inefficient?)
The text was updated successfully, but these errors were encountered:
In the changelog this change is mentioned, but in the docs the scope is still there.
https://smarty-php.github.io/smarty/stable/designers/language-builtin-functions/language-function-config-load/#attributes
Sorry, something went wrong.
Remove unused attributes from config_load
8dafcf4
fixes #993
Remove unused attributes from config_load (#1004)
3293a87
Successfully merging a pull request may close this issue.
Consider the following files:
test.cfg:
test.html
test2.html
test.php
Smarty4 output:
Smarty5 output:
Also with scope='global' in config_load this case is not working.
Is it supposed to be like this? (and should I call config_load in every template that uses the variables? or is this inefficient?)
The text was updated successfully, but these errors were encountered: