39 lines
614 B
PHP
39 lines
614 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
/**
|
|
* Application configuration
|
|
*
|
|
* PHP version 7.0
|
|
*/
|
|
class Config
|
|
{
|
|
/**
|
|
* Database host
|
|
* @var string
|
|
*/
|
|
const DB_HOST = '118.24.238.198';
|
|
/**
|
|
* Database name
|
|
* @var string
|
|
*/
|
|
const DB_NAME = 'background';
|
|
const ROUTE_PREFIX = "/api/public/";
|
|
/**
|
|
* Database user
|
|
* @var string
|
|
*/
|
|
const DB_USER = 'caiyu';
|
|
/**
|
|
* Database password
|
|
* @var string
|
|
*/
|
|
const DB_PASSWORD = '123456';
|
|
/**
|
|
* Show or hide error messages on screen
|
|
* @var boolean
|
|
*/
|
|
const SHOW_ERRORS = true;
|
|
}
|