Documentation

config.php

Setting basic configuration data.

Defining global variables for working with paths, connecting to a database, and so on.

Table of Contents

Constants

BASE_URL  = $_ENV["DOMAIN"]
DBHOST  = $_ENV["DB_HOST"]
DBNAME  = $_ENV["DB_NAME"]
DBPASSWORD  = $_ENV["DB_PASSWORD"]
DBPORT  = $_ENV["DB_PORT"]
DBUSER  = $_ENV["DB_USER"]
ROOT  = __DIR__
Setting basic configuration data.

Constants

BASE_URL

public mixed BASE_URL = $_ENV["DOMAIN"]

DBHOST

public mixed DBHOST = $_ENV["DB_HOST"]

DBNAME

public mixed DBNAME = $_ENV["DB_NAME"]

DBPASSWORD

public mixed DBPASSWORD = $_ENV["DB_PASSWORD"]

DBPORT

public mixed DBPORT = $_ENV["DB_PORT"]

DBUSER

public mixed DBUSER = $_ENV["DB_USER"]

ROOT

Setting basic configuration data.

public mixed ROOT = __DIR__

Defining global variables for working with paths, connecting to a database, and so on.


        
On this page

Search results