Skip to content

Commit

Permalink
Remove manual autoload from Twig (done by composer now)
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 29, 2021
1 parent 3a849f4 commit bbd0858
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions third_party/Twig/ETwigViewRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ class ETwigViewRenderer extends CApplicationComponent implements IViewRenderer

function init()
{
require_once Yii::getPathOfAlias($this->twigPathAlias).'/Autoloader.php';
Yii::registerAutoloader(array('Twig_Autoloader', 'autoload'), true);

$app = Yii::app();

/** @var $theme CTheme */
Expand Down

0 comments on commit bbd0858

Please sign in to comment.