<?php
namespace src;

class Config {
    const BASE_DIR = '/public';
    const SITE_URL = 'https://dev.supporteagronegocios.com.br/public/';

    const DB_DRIVER = 'mysql';
    const DB_HOST = 'localhost';
    const DB_DATABASE = 'suppo624_db_test';
    const DB_USER = 'suppo624_user_teste';
    const DB_PASS = '~7@%VeN.[b4B';
    const OPTIONS = [
        PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8",
        PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
        PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
        PDO::ATTR_PERSISTENT => true
    ];

    const ERROR_CONTROLLER = 'ErrorController';
    const DEFAULT_ACTION = 'index';
}