CACHE_RAW
The path to where an optional non gzipped copy of the current page should reside.
Created
- index.php
Used
- includes/checkCache.inc.php
- libs/outputBuffer.lib.php
The following defunes are created and used by Caballero
When used inside a function instead of normal script, that function is listed under its host file name.
[ DEFINE ] | File pointed to by the define |
---|---|
; | Comment at the end of a line |
The path to where an optional non gzipped copy of the current page should reside.
Path to the gzipped cache of the current page, if any.
The string sent as a HTTP header() on error.
The title of an HTTP error code, basically the part of the HTTP header after the protocol declaration
PAGE_TITLE == ERROR_TITLE
The directory our index.php is in, derived from __FILE__ at startup.
The character encoding of the site
Disables caching site-wide or for specific pages
Disables minification
Outputbuffer::add
The basename of REQUEST_URI. If none is provided this will default to "index"
The directory of our index.php as accessed from the web.
The string extracted from ACCEPT_ENCODING used in the HTTP header to designate a gzip compressed format.
The color to be used for Apple "mask" SVG Icons
The basename used to build caching files
Path to the current page configuration file. Typically set toPAGE_PATH . '.config.php'
Path to the current page content file. Could be one of either
PAGE_PATH . '.content.php'
PAGE_PATH . '.handler.php'
The HTML language encoding of the current page
SITE_TITLE ?? "en"
HTMLHead::output()
Path to the configuration and content files
Either "content" or "handler", see PAGE_TYPE for more information
Used to generate H1, body > footer, and TITLE content. Should be left undefined for the home page (index) and defined for all other subpages.
HTMLHead::output()
The type of file used, either "content" or "handler". If "content" a static include will be used using the full path, hypens will be changed into slashes. If "handler" the file will be called direct from the /pages directory with anything after the first hyphen turned into the array PAGE_REQUEST
The HTML language encoding of the site
HTMLHead::output()
The name of the website. Used to generate TITLE tag
HTMLHead::output()
Path to the current template directory
load_template()
name of the current template, used to build TEMPLATE_DIR and for naming cached pages
Just some stock placeholder text to show that the modal dialog system works.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc pellentesque, libero et facilisis rutrum, lectus urna faucibus nulla, id ultricies orci mauris nec tellus. Phasellus efficitur neque sed velit mattis, vitae viverra metus posuere. Ut sodales pellentesque tellus vel volutpat. Fusce volutpat porttitor nisl sit amet aliquam. Praesent sed nibh nisl. Mauris ornare augue sit amet lacinia mollis. Donec non tortor at tellus euismod interdum.