mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
fixes in source files
This commit is contained in:
@@ -233,7 +233,7 @@ class TemplateLexer
|
||||
$this->counter += strlen($match[0]);
|
||||
}
|
||||
$this->line = 1;
|
||||
$this->smarty = $compiler->template->smarty;
|
||||
$this->smarty = $compiler->getTemplate()->getSmarty();
|
||||
$this->compiler = $compiler;
|
||||
$this->compiler->initDelimiterPreg();
|
||||
$this->smarty_token_names['LDEL'] = $this->smarty->getLeftDelimiter();
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace Smarty\Parser;
|
||||
|
||||
use \Smarty\Lexer\Configfile as Lexer;
|
||||
use \Smarty\Lexer\ConfigfileLexer as Lexer;
|
||||
use \Smarty\Compiler\Configfile as Configfile;
|
||||
|
||||
/**
|
||||
@@ -98,7 +98,7 @@ class ConfigfileParser
|
||||
public function __construct(Lexer $lex, Configfile $compiler)
|
||||
{
|
||||
$this->lex = $lex;
|
||||
$this->smarty = $compiler->smarty;
|
||||
$this->smarty = $compiler->getSmarty();
|
||||
$this->compiler = $compiler;
|
||||
$this->configOverwrite = $this->smarty->config_overwrite;
|
||||
$this->configReadHidden = $this->smarty->config_read_hidden;
|
||||
|
Reference in New Issue
Block a user