|
50.
|
|
|
``$cfg->pathtoclam = '/path/to/your/clamscan';``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:297
|
|
51.
|
|
|
If you are running the antivirus engine `ClamAV <https://www.clamav.net/>`_ on your server and don't scan for viruses on the system level, you can let Mahara know where to find it so files that are uploaded are scanned. For security reasons, the path to ClamAV on your server needs to be provided in the ``config.php`` file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:299
|
|
52.
|
|
|
You can see the path that has been set in the :ref:`"Security settings" <security_settings>`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:234
|
|
53.
|
|
|
probationenabled: Give users probation status
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:244
|
|
54.
|
|
|
``$cfg->probationenabled = true;`` or ``$cfg->probationenabled = false;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:313
|
|
55.
|
|
|
If ``$cfg->probationenabled = true;``, you should set ``$cfg->probationstartingpoints = 2;`` as well.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:315
|
|
56.
|
|
|
You can set a :ref:`spam probation level <set_spam_probation>` for your users to prevent self-registered users from posting spam especially on a public site. Use the following two variables to do that:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:250
|
|
57.
|
|
|
``$cfg->probationenabled = true;``: This setting decides whether users can be put on probation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:252
|
|
58.
|
|
|
``$cfg->probationstartingpoints = 2;``: This setting determines how many probation points a newly self-registered user has per default. In this example, users would get two probation points that they need to get rid off before all functionality is available to them.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:253
|
|
59.
|
|
|
You can change the probation points individually on the :ref:`user's account settings page <user_account_settings>` in the *Administration*.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:255
|