<?php
/**
 * Tipask全局配置
 * User: sdf_sky
 * Date: 15/9/4
 * Time: 上午11:40
 */

return [
    'version' => 'Tipask3.1',
    'release' => '20161231',
    'user_cache_time' => 1, //用户数据缓存时间单位分钟
    'user_invite_limit' => 10,//用户邀请回答限制数
    'admin' => [
        'page_size' => 15,  //后台分页列表显示数目
    ],
    'user_actions' => [   //积分操作动作
        'login'    => '登录',
        'register' => '注册',
        'ask'      => '发起提问',
        'answer'   => '回答问题',
        'follow_question' => '关注了问题',
        'append_reward' => '对问题追加悬赏',
        'answer_adopted' => '回答被采纳',
        'create_article' => '发表了文章',
        'exchange' => '兑换商品',
    ],
    'notification_types' =>[
        'answer'  => '回答了问题',
        'reply_comment'  => '回复了',
        'comment_question' => '评论了问题',
        'comment_answer' => '评论了回答',
        'comment_article' => '评论了文章',
        'follow_question' => '关注了问题',
        'invite_answer' => '邀请您回答问题',
        'adopt_answer' => '采纳了您的回答',
        'create_article' => '发表了文章',
        'follow_user' => '关注了你',
    ],
    'summernote'=>[
        'ask' => "['common', ['style','bold','ol','link','picture','clear','fullscreen']]",
        'blog' => "['common', ['style','bold','color','ol', 'paragraph','table','link','picture','clear','fullscreen']]",
    ],

    'upload' =>[
        'image'=>[
            'max_size' => '2048' //图片上传大小 单位是kb
        ]
    ],
    'mail_drivers' => [
        'smtp' => '连接 SMTP 服务器发送',
        'sendmail' => '通过sendmail方式进行发送',
    ],
    'category_types' => [
        'questions' => '问题',
        'articles' => '文章',
        'tags' => '话题',
        'experts' => '专家',
    ]


];