westdc-zf1/config/autoload/global.php

47 lines
1.1 KiB
PHP

<?php
/**
* Global Configuration Override
*
* You can use this file for overriding configuration values from modules, etc.
* You would place values in here that are agnostic to the environment and not
* sensitive to security.
*
* @NOTE: In practice, this file will typically be INCLUDED in your source
* control, so do not include passwords or other sensitive information in this
* file.
*/
return array(
'service_manager' => array(
'factories' => array(
'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
),
),
//session storage namespace
'session_namespace' => 'sjyportal',
//upload
'upload' => array(
'urlbase' => '/uploads/'
),
//comment
'comment' => array(
'filter' => '草泥马,艹,操你妈,我操,卧槽,日你,我日,他妈的,她妈的,贱比,贱人,贱逼,你妈逼,傻逼,你麻痹',
'pagelimit' => 10,
'pagerange' => 5
),
//网站标题
'site_title' => '青海省生态综合数据网',
'title' => array(
'register' => '用户注册',
),
'member' => array(
'default_role' => 'member'
),
);