\AppConfig

Class Config

Summary

Methods
Properties
Constants
No public methods found
$base_url
$abs_path
$default_controller
$default_method
$https
$app_dir
$system_dir
$public_dir
$dev_mode
$logging
$database
$composer
$composer_path
$timezone
$date_format
$autoload
$helpers
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$base_url

$base_url : 

Base URL WITH trailing slash

Type

$abs_path

$abs_path : 

System base path

Type

$default_controller

$default_controller : 

Default Controller & Method

Type

$default_method

$default_method : 

Type

$https

$https : 

Force SSL

Type

$app_dir

$app_dir : 

The directory name where your code is located

Type

$system_dir

$system_dir : 

The system folder, default system

Type

$public_dir

$public_dir : 

The front facing public folder, sometimes httpdocs (plesk) or public_html (cpanel)

Type

$dev_mode

$dev_mode : 

Enable development mode, will show exceptions, otherwise a 404. Should be false on production sites

Type

$logging

$logging : 

Logging, true or false

Type

$database

$database : 

Database

Type

$composer

$composer : 

Composer

Type

$composer_path

$composer_path : 

Type

$timezone

$timezone : 

Dates and Time

Type

$date_format

$date_format : 

Type

$autoload

$autoload : 

Autoload Built In Libraries

There aren't many!

Type

$helpers

$helpers : 

These are your own helpers located in the app/helpers directory.

They should be loaded by filename without the .php extension

eg functions.php would be loaded with public $helpers = ['functions'];

Type