|
55.
|
|
|
If you want to change the default behaviour of a variable in your instance of Mahara, copy it from the ``config-defaults.php`` file into your ``config.php`` file so it won't get overwritten when you update the codebase. The ``config.php`` file is never changed by an update or upgrade of Mahara.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:36
|
|
56.
|
|
|
developermode: Enable or disable developer mode
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:71
|
|
57.
|
|
|
``$cfg->developermode = true;`` or ``$cfg->developermode = false;``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:47
|
|
58.
|
|
|
When you enable developer mode, the following two changes are made automatically for your site:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:49
|
|
59.
|
|
|
``debug.css`` will be included on each page. You can edit this file to add debugging CSS at your discretion.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:51
|
|
60.
|
|
|
``developermode=true`` is less powerful than the :ref:`productionmode=false <config_variable_productionmode>`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:55
|
|
61.
|
|
|
directorypermissions: Permissions to use in dataroot
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:82
|
|
62.
|
|
|
``$cfg->directorypermissions = 0700;`` (default)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:84
|
|
63.
|
|
|
You can set what permissions are used for files and directories in the Mahara dataroot. The default allows only the web server user to read the data. If you are on shared hosting and might want to download the contents of your dataroot later, e.g. for backup purposes, set this to 0755. Otherwise, leave it as is.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:68
|
|
64.
|
|
|
error_reporting: Error reporting
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:95
|