PHP Classes

File: config/global.php.dist

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Album Manager   config/global.php.dist   Download  
File: config/global.php.dist
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP Album Manager
Manage a list of albums with Zend Framework 2
Author: By
Last change:
Date: 7 years ago
Size: 836 bytes
 

Contents

Class file image Download
<?php
/**
 * Global Configuration Override
 *
 * You can use this file for overriding configuration values from modules, etc.
 * You would place values in here that are agnostic to the environment and not
 * sensitive to security.
 *
 * @NOTE: In practice, this file will typically be INCLUDED in your source
 * control, so do not include passwords or other sensitive information in this
 * file.
 */
return array(
   
'db' => array(
       
'driver' => 'Pdo',
       
'dsn' => 'mysql:dbname=album;host=localhost',
       
'driver_options' => array(
           
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
       
),
    ),
   
'service_manager' => array(
       
'factories' => array(
           
'Zend\Db\Adapter\Adapter'
                   
=> 'Zend\Db\Adapter\AdapterServiceFactory',
        ),
    ),
);