Skip to content
Snippets Groups Projects
Commit aa2eafac authored by PavelBegunkov's avatar PavelBegunkov
Browse files

Fix: vanishing of database configs

parent 9f3958e9
Branches
Tags
No related merge requests found
<?php defined('SYSPATH') OR die('No direct access allowed.');
return array
(
'default' => array(
'type' => 'PDO',
'connection' => array(
/**
* The following options are available for PDO:
*
* string dsn Data Source Name
* string username database username
* string password database password
* boolean persistent use persistent connections?
*/
'dsn' => 'mysql:host=127.0.0.1;dbname=mmcs_rating',
'username' => 'mmcs_rating',
'password' => 'Pefnesdy',
'persistent' => FALSE,
'options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')
),
/**
* The following extra options are available for PDO:
*
* string identifier set the escaping identifier
*/
'table_prefix' => '',
'charset' => 'utf8',
'caching' => FALSE,
),
);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment