We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
site
1 parent 8df7402 commit 06c509cCopy full SHA for 06c509c
1 file changed
View.php
@@ -127,9 +127,15 @@ public function init()
127
$this->site_name = Yii::$app->name;
128
$this->site = Yii::$app->name;
129
}
130
+
131
+ if($this->site == null){
132
+ $this->site = $this->site_name;
133
+ }
134
135
if ($this->url == null) {
136
$this->url = Yii::$app->request->absoluteUrl;
137
138
139
if ($this->date == null){
140
$this->date = Yii::$app->formatter->asDatetime(time());
141
0 commit comments