|
105.
|
|
|
``$cfg->error_reporting = E_ALL & ~E_STRICT;`` (default)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:97
|
|
106.
|
|
|
This parameter indicates what level of errors to print to the Mahara logs. It gets passed directly to the PHP function ``error_reporting()``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:99
|
|
107.
|
|
|
There are some limitations in this method because it doesn't get called until several scripts have already been compiled: ``init.php, config.php, config-defaults.php, errors.php``, and the file directly invoked in the URL. So, compile-time errors in those files, which includes most strict errors, will be unaffected by this setting.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:102
|
|
108.
|
|
|
openbadgedisplayer_source: Open Badges displayer sources
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:261
|
|
109.
|
|
|
``$cfg->openbadgedisplayer_source = '{"shortname":"url","shortname":"url"}';``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:263
|
|
110.
|
|
|
In order to display Open Badges in the :ref:`"Open Badges" block <open_badges_block>`, the sites that host the badges need to be configured. Per default, the `Mozilla Backpack <https://backpack.openbadges.org/>`_ and the `Open Badge Passport <https://openbadgepassport.com>`_ can be connected to. If you have other sources, you would need to add them to the allowed sources.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:204
|
|
111.
|
|
|
passwordsaltmain: Set a site-wide password salt
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:280
|
|
112.
|
|
|
``$cfg->passwordsaltmain = 'your secret phrase here';``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:282
|
|
113.
|
|
|
A password salt helps "hash" passwords more securely in the database to make hacking them more difficult. Using a phrase is a good start. Passwords are already not displayed in plain text in the database, they are hashed. The salt helps randomise that even more.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:217
|
|
114.
|
|
|
If you don't have a password salt set, you see a warning on the :ref:`"Admin home" <admin_warnings>` page.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:219
|