mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Move delimiter props and functions
move left and right delimiter functions and properties to Render class.
This commit is contained in:
parent
93ccd7bcdb
commit
3f74ba88c2
3 changed files with 44 additions and 42 deletions
|
@ -5,6 +5,7 @@
|
|||
namespace Friendica\Render;
|
||||
|
||||
use Smarty;
|
||||
use Friendica\Core\Renderer;
|
||||
|
||||
/**
|
||||
* Friendica extension of the Smarty3 template engine
|
||||
|
@ -38,8 +39,8 @@ class FriendicaSmarty extends Smarty
|
|||
$this->setConfigDir('view/smarty3/config/');
|
||||
$this->setCacheDir('view/smarty3/cache/');
|
||||
|
||||
$this->left_delimiter = $a->getTemplateLeftDelimiter('smarty3');
|
||||
$this->right_delimiter = $a->getTemplateRightDelimiter('smarty3');
|
||||
$this->left_delimiter = Renderer::getTemplateLeftDelimiter('smarty3');
|
||||
$this->right_delimiter = Renderer::getTemplateRightDelimiter('smarty3');
|
||||
|
||||
// Don't report errors so verbosely
|
||||
$this->error_reporting = E_ALL & ~E_NOTICE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue