Skip to content

Commit

Permalink
add compile_dir > setCompileDir to changelog and upgrade instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Dec 1, 2023
1 parent 6ca6f72 commit c011891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions docs/upgrading.md
Expand Up @@ -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:

Expand Down

0 comments on commit c011891

Please sign in to comment.