Documentation

Config Table

This is the only table composed of only two records. A unique identifier called name and another field called value, which is its associated value. It contains no other values, and as you can see, it does not meet the global criteria of the rest of the system tables.

This table contains the global system configuration, so its values ​​are created when the system is installed and can only be modified by a super administrator.

The values ​​are in JSON format, and are:

action
List of possible actions, with the value 0|1 indicating whether the action requires an ID to execute..
Default {"a":0,"b":1,"c":1,"d":0,"f":0,"g":0}
css
List of additional CSS to be used globally. These are loaded after those used by the system.
Default: ["/css/lib/normalize.css", "/css/default.css"]
cur
Array of system-supported currency keys (ISO 4217) along with the exchange rate. The first element is set to 1, the default currency.
Default {"usd":1, "mxp":0.591}
description
Site description
Default {"es":"Sitio desarrollado con SiteUp!", "en":"SiteUp! enhanced website"}
install
System installation data. ID, date, and authorship vary depending on the installation.
Default {"id":"0123456789abcdef0123456789abcdef", "generator":"SiteUP! v5.2", "date":"YYYY-MM-DD", "author":"J Alejandro Ceballos - webmaster@siteuptools.org" }
js
List of scripts to load at the bottom of the page, separated by whitespace. Scripts such as jQuery that require the above scripts to be loaded are suggested.
Default: ["/js/siteup/global_rules.js"].
jsh
List of scripts to load at the top of the page, separated by white space. Scripts that may take a while to load due to their size and that are not executed immediately are placed here.
Default: ["/js/lib/chart.min.js","/js/siteup/chart_colors.js","/js/siteup/validate.js", "/js/siteup/jquery-2.1.4.min.js"]
keywords
Site keywords.
Default: {"es":"SiteUP!, tools","en":"SiteUP!, tools"}
lang
Keys for languages ​​supported by the system (ISO 639-1), the first being the default language.
Default: ["es","en"].
script
Indicates whether the system uses CGIs (cgi-bin/) or scripts (apps) to execute actions, and which extension is used.
Default: {"cgi":1, "ext":"cgi"}
security
Contains information related to potential security vulnerabilities. In this case, it indicates whether the inclusion of external links in content is allowed, as well as the number of minutes an account can remain logged in.
Default {"allowexternals":0,"livelogin":20}.
siteinfo
General system information.
Default: {"name": "SiteUP!", "copyright":"J Alejandro Ceballos Z", "license":"MIT license"}

Search