/var/www/vhosts/nabawater/frontend/views/layouts
Edit: /var/www/vhosts/nabawater/frontend/views/layouts/page.php (4073B)
*/
$actionName = Yii::$app->controller->action->id;
$controllerName = Yii::$app->controller->id;
if (strtolower($actionName) == 'cms' || strtolower($controllerName) == 'page') {
$controllerName = substr(Yii::$app->request->url, 0, -1);
}
if ( strtolower($actionName) != 'cms' || strtolower($controllerName) == 'page' ) {
$controllerName = substr(Yii::$app->request->url, 1);
}
$metaInfo = \frontend\models\MetaTag::instance()->getMetaTag($controllerName);
?>
beginPage() ?>
= Html::encode($this->title) ?>
= $this->registerCsrfMetaTags() ?>
head() ?>
beginBody() ?>
= $content ?>
endBody() ?>
endPage() ?>