Commit 9e9095b5 authored by Shakarim Sapa's avatar Shakarim Sapa

- test

parent b97108fb
......@@ -35,7 +35,8 @@ class PostController extends BaseController
*/
public function actionIndex()
{
echo Settings::getValue('sender_name'); die;
$sender_name = (is_null(Settings::getValue('sender_name')) || strlen(Settings::getValue('sender_name')==0)) ? 'Not found' : Settings::getValue('sender_name');
echo $sender_name; die;
$this->meta_title = Yii::t('blog', 'Art Project Blog');
$query = Post::find()->where(['active' => 1])->limit(Post::PAGE_SIZE)->orderBy('created_at DESC');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment