mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-22 12:29:11 -04:00
During this process, remove a considerable number of files from kohana
that we will not be needing in Gallery3, including the following files
and directories:
kohana/application
kohana/example.htaccess
kohana/index.php
kohana/install.php
kohana/kohana.png
kohana/modules/archive
kohana/modules/auth
kohana/modules/flot
kohana/modules/gmaps
kohana/modules/kodoc
kohana/modules/payment
kohana/modules/smarty
kohana/modules/unit_test/i18n
kohana/modules/unit_test/tests/Example_Test.php
kohana/modules/unit_test/tests/Valid_Test.php
kohana/system/config/captcha.php
kohana/system/controllers/captcha.php
kohana/system/fonts
kohana/system/i18n
kohana/system/libraries/Calendar.php
kohana/system/libraries/Calendar_Event.php
kohana/system/libraries/Captcha.php
kohana/system/libraries/Tagcloud.php
kohana/system/vendor
kohana/system/views/pagination
kohana/system/views/kohana_calendar.php
45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
|
/**
|
|
* @package Database
|
|
*
|
|
* Database connection settings, defined as arrays, or "groups". If no group
|
|
* name is used when loading the database library, the group named "default"
|
|
* will be used.
|
|
*
|
|
* Each group can be connected to independently, and multiple groups can be
|
|
* connected at once.
|
|
*
|
|
* Group Options:
|
|
* benchmark - Enable or disable database benchmarking
|
|
* persistent - Enable or disable a persistent connection
|
|
* connection - Array of connection specific parameters; alternatively,
|
|
* you can use a DSN though it is not as fast and certain
|
|
* characters could create problems (like an '@' character
|
|
* in a password):
|
|
* 'connection' => 'mysql://dbuser:secret@localhost/kohana'
|
|
* character_set - Database character set
|
|
* table_prefix - Database table prefix
|
|
* object - Enable or disable object results
|
|
* cache - Enable or disable query caching
|
|
* escape - Enable automatic query builder escaping
|
|
*/
|
|
$config['default'] = array
|
|
(
|
|
'benchmark' => TRUE,
|
|
'persistent' => FALSE,
|
|
'connection' => array
|
|
(
|
|
'type' => 'mysql',
|
|
'user' => 'dbuser',
|
|
'pass' => 'p@ssw0rd',
|
|
'host' => 'localhost',
|
|
'port' => FALSE,
|
|
'socket' => FALSE,
|
|
'database' => 'kohana'
|
|
),
|
|
'character_set' => 'utf8',
|
|
'table_prefix' => '',
|
|
'object' => TRUE,
|
|
'cache' => FALSE,
|
|
'escape' => TRUE
|
|
); |