X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ffriendica_smarty.php;h=b3f0d18a01d32509f1ca8345c6f0403eff148d51;hb=1b74e3ff100426b86f0f7cdd2f967b7781d6f8fa;hp=9ad14ad8a4738e610e6c346ebb14a56ec1720b8b;hpb=e935fa78c61b31223814192b47c00fd1ccb91ed2;p=friendica.git diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php index 9ad14ad8a4..b3f0d18a01 100644 --- a/include/friendica_smarty.php +++ b/include/friendica_smarty.php @@ -24,8 +24,11 @@ class FriendicaSmarty extends Smarty { $this->setConfigDir('view/smarty3/config/'); $this->setCacheDir('view/smarty3/cache/'); - $this->left_delimiter = $a->smarty3_ldelim; - $this->right_delimiter = $a->smarty3_rdelim; + $this->left_delimiter = $a->get_template_ldelim('smarty3'); + $this->right_delimiter = $a->get_template_rdelim('smarty3'); + + // Don't report errors so verbosely + $this->error_reporting = E_ALL & ~E_NOTICE; } function parsed($template = '') {