Fix typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
require_once(dirname(__FILE__) . '/Smarty.class.php');
|
||||
|
||||
/**
|
||||
* Smarty Backward Compatability Wrapper Class
|
||||
* Smarty Backward Compatibility Wrapper Class
|
||||
*
|
||||
* @package Smarty
|
||||
*/
|
||||
|
||||
@@ -203,7 +203,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
||||
}
|
||||
throw $e;
|
||||
}
|
||||
// compiling succeded
|
||||
// compiling succeeded
|
||||
if (!$this->source->recompiled && $this->compiler->write_compiled_code) {
|
||||
// write compiled template
|
||||
$_filepath = $this->compiled->filepath;
|
||||
|
||||
@@ -231,7 +231,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
||||
if ($this->smarty->debugging) {
|
||||
Smarty_Internal_Debug::end_render($_template);
|
||||
}
|
||||
// write to cache when nessecary
|
||||
// write to cache when necessary
|
||||
if (!$_template->source->recompiled && ($_template->caching == Smarty::CACHING_LIFETIME_SAVED || $_template->caching == Smarty::CACHING_LIFETIME_CURRENT)) {
|
||||
if ($this->smarty->debugging) {
|
||||
Smarty_Internal_Debug::start_cache($_template);
|
||||
|
||||
Reference in New Issue
Block a user