You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.0 KiB
82 lines
2.0 KiB
<?php
|
|
/**
|
|
* Fuel is a fast, lightweight, community driven PHP 5.4+ framework.
|
|
*
|
|
* @package Fuel
|
|
* @version 1.8.1
|
|
* @author Fuel Development Team
|
|
* @license MIT License
|
|
* @copyright 2010 - 2018 Fuel Development Team
|
|
* @link http://fuelphp.com
|
|
*/
|
|
/**
|
|
* NOTICE:
|
|
*
|
|
* If you need to make modifications to the default configuration, copy
|
|
* this file to your app/config folder, and make them in there.
|
|
*
|
|
* This will allow you to upgrade fuel without losing your custom config.
|
|
*/
|
|
return array(
|
|
/*
|
|
* If you don't specify a DB configuration name when you create a connection
|
|
* the configuration to be used will be determined by the 'active' value
|
|
*/
|
|
'active' => 'default',
|
|
/**
|
|
* Base PDO config
|
|
*/
|
|
'default' => array(
|
|
'type' => 'pdo',
|
|
'connection' => array(
|
|
'dsn' => '',
|
|
'hostname' => '',
|
|
'username' => null,
|
|
'password' => null,
|
|
'database' => '',
|
|
'persistent' => false,
|
|
'compress' => false,
|
|
),
|
|
'identifier' => '`',
|
|
'table_prefix' => '',
|
|
'charset' => 'utf8',
|
|
'collation' => false,
|
|
'enable_cache' => true,
|
|
'profiling' => false,
|
|
'readonly' => false,
|
|
),
|
|
/**
|
|
* Base MySQLi config
|
|
*
|
|
'default' => array(
|
|
'type' => 'mysqli',
|
|
'connection' => array(
|
|
'dsn' => '',
|
|
'hostname' => '',
|
|
'username' => null,
|
|
'password' => null,
|
|
'database' => '',
|
|
'persistent' => false,
|
|
'compress' => false,
|
|
),
|
|
'identifier' => '`',
|
|
'table_prefix' => '',
|
|
'charset' => 'utf8',
|
|
'collation' => false,
|
|
'enable_cache' => false,
|
|
'profiling' => false,
|
|
'readonly' => false,
|
|
),
|
|
*/
|
|
/**
|
|
* Base Redis config
|
|
*/
|
|
'redis' => array(
|
|
'default' => array(
|
|
'hostname' => '127.0.0.1',
|
|
'port' => 6379,
|
|
'timeout' => null,
|
|
'database' => 0,
|
|
),
|
|
),
|
|
); |