BASE
Base URL path of the install ('' at a domain root, '/sub' in a sub-directory).
public
mixed
BASE
= \env('BASE', \basePath())
Detected from the request by default; set it when a reverse proxy serves the
app under a path the request does not carry.
CLOUD_SIZE
Most-used tags shown in the tag cloud.
public
mixed
CLOUD_SIZE
= \max(1, (int) \env('CLOUD_SIZE', '50'))
DB_HOST
Database host ('localhost' by default).
public
mixed
DB_HOST
= \env('DB_HOST', 'localhost')
DB_NAME
Database name ('izartu' by default).
public
mixed
DB_NAME
= \env('DB_NAME', 'izartu')
DB_PASS
Database password (required, no default).
public
mixed
DB_PASS
= \env('DB_PASS')
DB_PORT
Database port (3306 by default).
public
mixed
DB_PORT
= (int) \env('DB_PORT', '3306')
DB_USER
Database user (required, no default).
public
mixed
DB_USER
= \env('DB_USER')
DEBUG
Debug mode (off by default; `1`/`true`/`on`/`yes` enable it): error output,
the Server-Timing header and the query panel.
public
mixed
DEBUG
= \filter_var(\env('DEBUG'), \FILTER_VALIDATE_BOOL)
PAGE_SIZE
Bookmarks per page on the feed.
public
mixed
PAGE_SIZE
= \max(1, (int) \env('PAGE_SIZE', '10'))
PRIVATE_DIR
Application bootstrap: fixed paths, class autoloading and configuration.
public
mixed
PRIVATE_DIR
= __DIR__ . '/'
Every entry point (public/index.php, private/cli/*, the test suite)
requires this file; config.php holds the operator-editable settings.
TAGS_PAGE_SIZE
Tags per page on the tag index (`/tags`).
public
mixed
TAGS_PAGE_SIZE
= \max(1, (int) \env('TAGS_PAGE_SIZE', '100'))