mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-01 00:44:26 +02:00
add compile_dir > setCompileDir to changelog and upgrade instructions
This commit is contained in:
@@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Removed constants such as SMARTY_DIR to prevent global side effects.
|
||||
- Removed direct access to `$smarty->template_dir`. Use `$smarty->setTemplateDir()`.
|
||||
- Removed direct access to `$smarty->cache_dir`. Use `$smarty->setCacheDir()`.
|
||||
- Removed direct access to `$smarty->compile_dir`. Use `$smarty->setCompileDir()`.
|
||||
- Removed `$smarty->loadPlugin()`, use `$smarty->registerPlugin()` instead.
|
||||
- Removed `$smarty->appendByRef()` and `$smarty->assignByRef()`.
|
||||
- Removed `$smarty->_current_file`
|
||||
|
@@ -71,6 +71,7 @@ In many cases, these properties have been made private, and you should now use t
|
||||
- `$smarty->autoload_filters` should be replaced with `$smarty->registerFilter()`
|
||||
- `$smarty->template_dir` should be replaced with `$smarty->setTemplateDir()`
|
||||
- `$smarty->cache_dir` should be replaced with `$smarty->setCacheDir()`
|
||||
- `$smarty->compile_dir` should be replaced with `$smarty->setCompileDir()`
|
||||
|
||||
Other public properties have been removed altogether, and you should no longer access them:
|
||||
|
||||
|
Reference in New Issue
Block a user