mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 09:24:28 +02:00
fix template invalidation when migrating to 5.0
This commit is contained in:
3
TODO.txt
3
TODO.txt
@@ -1,8 +1,5 @@
|
||||
# @TODO
|
||||
|
||||
## 5.0
|
||||
- fix template invalidation when migrating to 5.0. https://github.com/smarty-php/smarty/pull/852#issuecomment-1412728329
|
||||
|
||||
## CI-building optimization
|
||||
- compiled & cached templates should not contain references to local filesystem paths. Add an optional rootpath param
|
||||
to `(add|set)TemplateDir` or as a separate method. Make it default to `getcwd()`. If a relative path is passed to
|
||||
|
@@ -294,4 +294,9 @@ class Compiled extends GeneratedPhpFile {
|
||||
return $is_valid && !function_exists($properties['unifunc']);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is here only to fix an issue when upgrading from Smarty v4 to v5.
|
||||
*/
|
||||
public function _decodeProperties($a, $b, $c = false): bool { return false; }
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user