PHP Classes

File: tests/build/config.php

Recommend this page to a friend!
  Classes of Thien Tran   Phalcon Cashier   tests/build/config.php   Download  
File: tests/build/config.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Phalcon Cashier
Access subscription services provided by Stripe
Author: By
Last change:
Date: 7 years ago
Size: 2,802 bytes
 

Contents

Class file image Download
<?php

/*
 +------------------------------------------------------------------------+
 | Phosphorum |
 +------------------------------------------------------------------------+
 | Copyright (c) 2013-2015 Phalcon Team and contributors |
 +------------------------------------------------------------------------+
 | This source file is subject to the New BSD License that is bundled |
 | with this package in the file docs/LICENSE.txt. |
 | |
 | If you did not receive a copy of the license and are unable to |
 | obtain it through the world-wide-web, please send an email |
 | to license@phalconphp.com so we can send you a copy immediately. |
 +------------------------------------------------------------------------+
*/

return new \Phalcon\Config([
   
'site' => [
       
'name' => 'Phalcon Framework',
       
'url' => 'http://pforum.loc',
       
'project' => 'Phalcon',
       
'software' => 'Phosphorum',
       
'repo' => 'https://github.com/phalcon/cphalcon/issues',
       
'docs' => 'https://github.com/phalcon/docs'
   
],

   
'database' => [
       
'adapter' => 'Mysql',
       
'host' => 'localhost',
       
'username' => 'forumuser',
       
'password' => 'secret',
       
'dbname' => 'forum',
       
'charset' => 'utf8'
   
],

   
'application' => [
       
'controllersDir' => APP_PATH . '/app/controllers/',
       
'modelsDir' => APP_PATH . '/app/models/',
       
'viewsDir' => APP_PATH . '/app/views/',
       
'pluginsDir' => APP_PATH . '/app/plugins/',
       
'libraryDir' => APP_PATH . '/app/library/',
       
'development' => [
           
'staticBaseUri' => '/',
           
'baseUri' => '/'
       
],
       
'production' => [
           
'staticBaseUri' => 'http://static.phosphorum.com/',
           
'baseUri' => '/'
       
],
       
'debug' => true
   
],

   
'mandrillapp' => [
       
'secret' => ''
   
],

   
'github' => [
       
'clientId' => '',
       
'clientSecret' => '',
       
'redirectUri' => 'http://pforum.loc/login/oauth/access_token/'
   
],

   
'amazonSns' => [
       
'secret' => ''
   
],

   
'smtp' => [
       
'host' => "",
       
'port' => 25,
       
'security' => "tls",
       
'username' => "",
       
'password' => ""
   
],

   
'beanstalk' => [
       
'disabled' => true,
       
'host' => '127.0.0.1'
   
],

   
'elasticsearch' => [
       
'index' => 'phosphorum'
   
],

   
'mail' => [
       
'fromName' => 'Phalcon',
       
'fromEmail' => 'phosphorum@phalconphp.com',
    ]
]);