mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 09:54:27 +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
|
# @TODO
|
||||||
|
|
||||||
## 5.0
|
|
||||||
- fix template invalidation when migrating to 5.0. https://github.com/smarty-php/smarty/pull/852#issuecomment-1412728329
|
|
||||||
|
|
||||||
## CI-building optimization
|
## CI-building optimization
|
||||||
- compiled & cached templates should not contain references to local filesystem paths. Add an optional rootpath param
|
- 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
|
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']);
|
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