api/App/Config.php

39 lines
614 B
PHP
Raw Normal View History

2019-08-18 16:52:23 +00:00
<?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;
}