PHP Classes

File: tests/config.php

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

Contents

Class file image Download
<?php
return new \Phalcon\Config(
    [
       
/**
         * The name of the database, username,password for Phanbook
         */
       
'database' => [
           
'mysql' => [
               
'host' => 'localhost',
               
'username' => 'root',
               
'password' => '',
               
'dbname' => 'phanbook',
               
'charset' => 'utf8',
            ]
        ],
       
'stripe' => [
           
'model' => 'App\Models\Users',
           
'secretKey' => null,
           
'publishKey' => null
       
],
       
/**
         * Application settings
         */
       
'application' => [
           
/**
             * The site name, you should change it to your name website
             */
           
'name' => 'Phanbook',
           
/**
             * In a few words, explain what this site is about.
             */
           
'tagline' => 'A Q&A, Discussion PHP platform',
           
'publicUrl' => 'http://phanbook.com',
           
/**
             * Change URL cdn if you want it
             */
           
'development' => [
               
'staticBaseUri' => '/',
            ],
           
'production' => [
               
'staticBaseUri' => '/',
            ],
           
/**
             * For developers: Phanbook debugging mode.
             *
             * Change this to true to enable the display of notices during development.
             * It is strongly recommended that plugin and theme developers use
             * in their development environments.
             */
           
'debug' => true
       
],
    ]
);