This version is outdated. You should upgrade your project to Mako 11.0!
Getting started
Controllers
Databases
Command line
Packages
Learn more
Constants
Defaults
The following constants are defined by the Mako framework:
Name | Description |
---|---|
MAKO_VERSION | Holds the Mako framework version. |
MAKO_CHARSET | Default charset used internally in the framework. |
MAKO_APPLICATION_PATH | Defines the path to the app directory (without trailing slash). |
MAKO_APPLICATION_PARENT_PATH | Defines the path to the parent directory of the app directory (without trailing slash). |
MAKO_START | Starting point of the framework execution in ms. |
MAKO_MAGIC_QUOTES | Holds the return value of get_magic_quotes_gpc(). |
MAKO_IS_WINDOWS | Is set to TRUE if Mako runs on a Windows system and FALSE if not. |
MAKO_APPLICATION_ID | MD5 hash of the application path. |
MAKO_PACKAGES_PATH | Path to the packages directory. |
Modifiers
The following constants can modify the behavior of the framework if defined:
Name | Description |
---|---|
MAKO_XHTML | If this constant is defined then the HTML helper will return XHTML compatible tags. |