PHP Classes

File: tests/sample-app/config/database.php

Recommend this page to a friend!
  Classes of Josantonius   Eliasis PHP Framework   tests/sample-app/config/database.php   Download  
File: tests/sample-app/config/database.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Eliasis PHP Framework
MVC framework supporting WordPress integration
Author: By
Last change:
Date: 6 years ago
Size: 671 bytes
 

Contents

Class file image Download
<?php
/**
 * Eliasis PHP Framework application.
 *
 * @author Josantonius <hello@josantonius.com>
 * @copyright 2017 - 2018 (c) Josantonius - Eliasis Framework
 * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
 * @link https://github.com/Eliasis-Framework/Eliasis
 * @since 1.1.2
 */
require_once '/tmp/wordpress-tests-lib/wp-tests-config.php';

return [
   
'db' => [
       
'app' => [
           
'provider' => 'PDOprovider',
           
'host' => DB_HOST,
           
'user' => DB_USER,
           
'name' => DB_NAME,
           
'password' => DB_PASSWORD,
           
'settings' => ['charset' => DB_CHARSET],
        ],
    ],
];