Commit 2f4fd1f2 authored by Shakarim Sapa's avatar Shakarim Sapa

- test

parent a057b869
......@@ -35,8 +35,6 @@ class PostController extends BaseController
*/
public function actionIndex()
{
$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