2.69. Variable *global*
Defines a global variable that will be available in all catalogs with the notation @@VARIABLE@@. Variable identifiers must begin with a capital letter, and can contain only word characters (A-Z,a-z,0-9 and underscore). They are case-sensitive.
Variable DOCUMENT_ROOT /usr/local/etc/httpd/htdocs
Only variables with ALL CAPS names will be parsed in catalog pages or, when the ParseVariables directive is set, in catalog (not global) configuration directives (other than Variable itself). These are substituted first in any Interchange page, and can contain any valid Interchange tags including catalog variables. If a variable is called with the notation @_VARIABLE_@, and there is no catalog Variable with its name, the global Variable value will be inserted.
There are several standard variables which you should not set:
MV_FILE
-
Name of the last file read in, as in [file ...] or an externally located perl routine.
MV_NO_CRYPT
-
Set this to 1 to disable encrypted passwords for the AdminUser.
MV_PAGE
-
Name of the last page read in, as in the page called with mv_nextpage or mv_orderpage.
CURRENCY, MV_CURRENCY
-
The current locale for currency.
LANG, MV_LANG
-
The current locale for language.
Some global variables can be set to affect Interchange:
MV_DOLLAR_ZERO
-
This determines what Interchange does to Perl's $0 variable, which contains the operating system's name of the running process, for example in the ps(1) or top(1) commands. Valid settings are:
Setting | Result |
(not set) | 'interchange' |
0 | (do nothing) |
1 | 'interchange --> (CATROOT)' |
string | 'string' |
-
Note that this is set globally once only when the Interchange daemon is started, so it's pointless to change the variable after that.