Configuration Variables

"It's still web development, it's just way easier!"

Configuration

These are configuration variables that are used with Wrival. All of the Environment Variables are also available, which are dynamically loaded, are not shown here.

Variable Result Description
<#ACCOUNT_CAPACITY> 10 The size alloted for an account (in GB).
<#authreq> /errors/authreq.wrival If page permissions fail.
<#ERROR_FILES> Error: Too many files loaded. The error message returned for exceeding the maximum amount of file loads allowed.
<#ERROR_LOOPS> Error: Too many loops (from loop/each/eachfalse function). The error message returned for exceeding the maximum amount of loops/each/eachfalse allowed.
<#ERROR_OUTPUT> Error: Output exceeded maximum allowed. The error message returned for exceeding the maximum amount of output allowed.
<#ERROR_PARSES> Error: Too many parses. The error message returned for exceeding the maximum amount of parses allowed.
<#ERROR_TIMER> Error: Time limit was exceeded. The error message returned for exceeding the maximum amount of time allowed for a request.
<#ERROR_WRIVAL> Error: Too many Wrival tags. The error message returned for exceeding the maximum amount of Wrival tags allowed.
<#errors> /errors/default.wrival The default error page.
<#EXEC> True Enable CGI embeds.
<#EXEC_ACCOUNT> True If EXEC is already enabled by setting this to False gives the account holder a means to disable executable embeds.
<#FETCH> True Enable fetching external URLs.
<#FETCH_ACCOUNT> True If FETCH is already enabled by setting this to False gives the account holder a means to disable fetching external URLs.
<#FILE_TYPES> Types of files allowed during when saving to a database. If not value, which is default, any type of file is allowed.
<#folderlist> /,/conversions,/errors,/forms,/functions,/learn,/products,/tutorials,/updates,/variables The top-level folders of the preview and live realms.
<#FORM_REQUIRE> True Must be True to allow forms to be saved (or False to disable saving forms).
<#IMAGE_TYPES> gif,jpg,jpeg,png Types of images allowed during when saving to a database. This list is also used for enabling the pixels functions.
<#limitexceeds> /errors/exceeds.wrival The Limit Exceeds error page.
<#load> live The current dir to load from.
<#MAILPATH> | /usr/sbin/sendmail -t The mail inject command for the server.
<#MAX_CHARS> 10000 The maximum amount of characters that can be saved for a field to a database (truncates if over).
<#MAX_FIELD> 10000000 The maximum amount of characters that can be used in a form post field (truncates if over).
<#MAX_LOOPS> 10000 Maximum loops allowed for loop/each/eachfalse functions per request.
<#MAX_KEYS> 100 Maximum entries allowed to be saved per request.
<#MAX_MAIL> 3 The maximum amount of email that can be sent per request.
<#MAX_OUTPUT> 1000000000 Maximum characters of output allowed.
<#MAX_PARSES> 50000 Maximum parses interpreted allowed per request.
<#MAX_TEXT> 10000000 The maximum amount of characters that can be saved for a text field to a database (truncates if over).
<#MAX_TIMER> 15 A time limit for constructing a request (in seconds).
<#MAX_WRIVAL> 10000000 Maximum Wrival tags interpreted allowed.
<#notfound> /errors/notfound.wrival The Not Found error page.
<#objects_location> wrival.com/vault/Objects/live For Development use only. The current location.
<#objects_location_edit> wrival.com/vault/Objects/edit For Development use only. The edit location.
<#objects_location_live> wrival.com/vault/Objects/live For Development use only. The live location.
<#objects_location_preview> wrival.com/vault/Objects/preview For Development use only. The preview location.
<#MAX_POST> 10485760 The maximum size in bytes allowed of file uploads during database saves. Wrival is set to allow up to 10MB, but may be configured to accomodate any size.
<#reserved> (Not shown.) A list of all the reserved words (variable predefined names).
<#SAFE_STORAGE> False Store all incoming data for testing or for use as a raw backup.
<#template> Main A default template name to try to use as a default globally (can be written over by the user).
<#TRAFFIC_REPORTING> True Setting this value to anything but True disables the Traffic Report builder.
<#TRAFFIC_HOURS> 2-5 The daily preferred hours to update this month's report.
<#TEMPLATE_ON> True Setting this value to anything but True disables loading a template for the request.
<#timezone> -8 The hour difference to set the current time zone (for the account). (-12 through 13)
<#timezoneoffset> 0 Hours to add (or deduct) if system time is not GMT.
<#TOTAL_OUTPUT> 20118 Total amount of characters through the position of the previous parse. May not be 100% as you'd expect as it also counts characters used in Wrival tags that might have been interpreted, but didn't return that exact value. :Hide for example.
<#TOTAL_PARSES> 1 Total parsed through the position of the this embed.
<#TOTAL_FILES> 2 Total files loaded during parse through the position of the this embed.
<#TOTAL_WRIVAL> 99 Total WRIVAL tags through the position of the this embed.
<#WRIVAL_MESSAGE> A message feed from Wrival to all CMS home pages.
<#WRIVAL_PAGES> wrival A list of file types that Wrival will evaluate. If a text-based file is requested and its type is not in this list it is returned as is.
<#WRIVAL_VERSION> 2014 The version of Wrival being used.