PHP Constants

Your index.php file can define certain PHP constants, which Flextype bootstrap script will check for while loading and configuring Flextype.

FLEXTYPE_MINIMUM_PHP

Define the application minimum supported PHP version.

ROOT_DIR

Define the path to the root directory (without trailing slash).

LOGS_PATH

Define the PATH to logs (without trailing slash).

PATH['site']

Define the PATH to site (without trailing slash).

PATH['entries']

Define the PATH to site entries (without trailing slash).

PATH['plugins']

Define the PATH to site plugins (without trailing slash).

PATH['themes']

Define the PATH to site themes (without trailing slash).

PATH['config']['default']

Define the PATH to default config (without trailing slash).

PATH['config']['site']

Define the PATH to site config (without trailing slash).

PATH['cache']

Define the PATH to site cache (without trailing slash).