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