PHP Classes

File: config/autoload/global.php

Recommend this page to a friend!
  Classes of Fabrice Fesch  >  Melis PHP CMS Skeleton  >  config/autoload/global.php  >  Download  
File: config/autoload/global.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis PHP CMS Skeleton
Setup the Melis CMS application on a given domain
Author: By
Last change:
Date: 1 year ago
Size: 786 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',
        
'driver_options' => array(
            
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
        
),
     ),
    
'service_manager' => array(
        
'factories' => array(
            
'Zend\Db\Adapter\Adapter'
                    
=> 'Zend\Db\Adapter\AdapterServiceFactory',
         ),
     ),
 );

For more information send a message to info at phpclasses dot org.