PHP Classes

File: app/Config/Database.php

Recommend this page to a friend!
  Classes of Steeven Lim   o2system   app/Config/Database.php   Download  
File: app/Config/Database.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: o2system
Start projects using the with O2System Framework
Author: By
Last change:
Date: 4 years ago
Size: 973 bytes
 

Contents

Class file image Download
<?php
/**
 * This file is part of the O2System PHP Framework package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @author Steeve Andrian Salim
 * @copyright Copyright (c) Steeve Andrian Salim
 */
// ------------------------------------------------------------------------

/**
 * Default Database Configuration
 */
$database[ 'default' ] = [
   
'driver' => 'mysql',
   
'dsn' => '',
   
'hostname' => 'localhost',
   
'port' => 3306,
   
'username' => '',
   
'password' => '',
   
'database' => '',
   
'charset' => 'utf8',
   
'collate' => 'utf8_general_ci',
   
'tablePrefix' => '',
   
'strictOn' => false,
   
'encrypt' => false,
   
'compress' => false,
   
'buffered' => false,
   
'persistent' => true,
   
'transEnable' => false,
   
'cacheEnable' => false,
   
'debugEnable' => false,
];