PHP Classes

File: conf/development/db.php

Recommend this page to a friend!
  Packages of Fernando Val   Springy   conf/development/db.php   Download  
File: conf/development/db.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Springy
Microframework for Web application development
Author: By
Last change:
Date: 1 year ago
Size: 630 bytes
 

 

Contents

Class file image Download
<?php

/*
 * Springy Framework Configuration File.
 *
 * Used for "development" environment.
 *
 * If removed, only conf/db.php will be used.
 */

return [
    'round_robin' => [
        'type' => 'file',
        'server_addr' => var_dir(),
        'server_port' => 11211,
    ],
    'cache' => [
        'type' => 'off',
        'server_addr' => '127.0.0.1',
        'server_port' => 11211,
    ],
    'default' => [
        'database_type' => 'mysql',
        'host_name' => '',
        'user_name' => '',
        'password' => '',
        'database' => '',
        'charset' => 'utf8',
        'persistent' => false,
    ],
];