parishop/project

使用 Parishop 模块构建 PHPixie 3 项目

安装: 6

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 0

公开问题: 0

类型:项目

dev-master / 3.x-dev 2016-12-06 08:09 UTC

This package is not auto-updated.

Last update: 2024-09-28 19:47:33 UTC


README

使用 Parishop 模块构建 PHPixie 3 项目

安装

创建文件 "/assets/parameters.php"

<?php
return [
    'database' => [
        'default' => [
            'driver'   => '',
            'adapter'  => '',
            'database' => '',
            'host'     => '',
            'port'     => '',
            'user'     => '',
            'password' => '',
        ],
    ],
    'mailer'   => [
        'type'             => 'native',
        'hostname'         => 'localhost',
        'port'             => '25',
        'username'         => null,
        'password'         => null,
        'encryption'       => null, // 'ssl' and 'tls' are supported
        'timeout'          => null, // timeout in seconds, defaults to 5
        'sendmail_command' => null,
        'mail_parameters'  => null,
    ],
    'social'   => [
        'facebook' => [
            'appId'     => '',
            'appSecret' => '',
            'scope'     => '',
        ],
        'google'   => [
            'appId'     => '',
            'appSecret' => '',
            'scope'     => '',
        ],
        'vk'       => [
            'appId'     => '',
            'appSecret' => '',
            'scope'     => '',
        ],
        'twitter'  => [
            'consumerKey'    => '',
            'consumerSecret' => '',
        ],
    ],
];