mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fix config file recompiling code
This commit is contained in:
2
NEWS
2
NEWS
@@ -1,3 +1,5 @@
|
||||
- fix bug that makes config files recompile every time
|
||||
(Nagger, Monte)
|
||||
- add dpi functionality to html_image, change "name"
|
||||
parameter to "file" (Thomas Shulz, Monte)
|
||||
- fix height/width parameter index in html_image (Gerard,
|
||||
|
@@ -1301,11 +1301,7 @@ class Smarty
|
||||
$_compile_config = true;
|
||||
} else {
|
||||
include($_compile_file);
|
||||
if(!empty($_config_vars)) {
|
||||
$_compile_config = true;
|
||||
} else {
|
||||
$_compile_config = false;
|
||||
}
|
||||
$_compile_config = empty($_config_vars);
|
||||
}
|
||||
|
||||
if($_compile_config) {
|
||||
|
Reference in New Issue
Block a user