/enrober-config.php

Description

This is the default 'enrober-config.php' file, in most cases no changes will need to be made to it.

Constants
ENROBER_ASSET_DIR = 'enr-assets' (line 41)

The name of the directory which holds Enrober assets (themes, cache files, etc)

ENROBER_ASSET_PATH = null (line 36)

The file system path to the directory that contains the ENROBER_ASSET_DIR directory.

If undefined or set to null, defaults the directory that enrober.php is stored in.

ENROBER_ASSET_URL = '/' (line 30)

The absolute path to ENROBER_ASSET_PATH as viewed from the HTTP client.

If your website was http://www.example.com and you wanted to put the ENROBER_ASSET_DIR directory in http://www.example.com/test/ you would set ENROBER_ASSET_URL to '/test/' If the ENROBER_ASSET_DIR directory is at the base of your webroot set it to '/'

ENROBER_CACHE = false (line 51)

Boolen; should we cache pages when we generate them? If set to true, the 'cache' subdirectory of ENROBER_ASSET_DIR must be writable by enrober.php so it can create and replace cache files.

This setting can be overridden to force caching/no caching using the $enrober->force_cache() method.

ENROBER_DEFAULT_THEME = 'simple' (line 22)

The default theme to use on a page if the theme is not specified in the go() call

ENROBER_SITE_NAME = 'Defaut site name' (line 13)

The name of the site. The site name is displayed in the header of most themes.

ENROBER_TAGLINE = 'Edit your config file to change this tagline an the site name.' (line 17)

The tagline that appears below the site name in most themes.

Documentation generated on Mon, 17 Jan 2011 14:05:02 -0800 by phpDocumentor 1.4.3