|
35.
|
|
|
Example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:143
../source/administration/cli.rst:149
|
|
36.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -b=false``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:145
|
|
37.
|
|
|
**Restore a backup**: Use the ``-r=true`` flag
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:147
|
|
38.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -r=true``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:151
|
|
39.
|
|
|
This will ignore trying to update the English language as that is set within Mahara itself.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:153
|
|
40.
|
|
|
Config.php variables
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:7
|
|
41.
|
|
|
Some site options cannot be set in the administration area but need to be updated directly on the server in the ``config.php`` file. In this section, you see the settings that are possible and why you might want to include them in your ``config.php`` file for your site.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:9
|
|
42.
|
|
|
Some of the config parameters have an equivalent setting in the *Administration* area. If you set a value explicitely in your ``config.php`` file, it overwrites any value entered in the administration, and the field becomes unavailable for editing.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:12
|
|
43.
|
|
|
The ``config.php`` file sits in the ``/htdocs`` directory of your site. If you want to view all possible variables and their default values, you can find them in ``/htdocs/lib/config-defaults.php``. You can overwrite any default values by placing the variable in your ``config.php`` file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:14
|
|
44.
|
|
|
Anatomy of a config variable
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:17
|