Update main.php

Methosd beginBody() and endBody() implemented only in \yii\web\View
Merge pull request #56 from lembadm/patch-2

Update main.php