|
25.
|
|
|
A configuration variable needs to be written in the correct syntax in order to function. In Mahara, this is done the following way: ``$cfg->variable = value;``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:19
|
|
26.
|
|
|
.. image:: images/administration/config_variable.*
:alt: A typical configuration variable
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:24
|
|
27.
|
|
|
A typical configuration variable
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:24
|
|
28.
|
|
|
**$cfg->**: Stands for "configuration" and indicates that what follows is a configuration variable.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:26
|
|
29.
|
|
|
**variable =**: Here you see the variable that is to be set. Generally, it consists of one word, or words are joined together with underscores. The variable cannot contain any spaces.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:27
|
|
30.
|
|
|
**value;**: The value that the variable takes is displayed. The values can be different things, for example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:28
|
|
31.
|
|
|
"true" or "false"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:30
|
|
32.
|
|
|
text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:31
|
|
33.
|
|
|
numbers
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:32
|
|
34.
|
|
|
file path
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:33
|