Closed mudrd8mz closed 2 years ago
https://github.com/logicexpertise/moodle-mod_onlyoffice/blob/bd2eb0ae2235c5ac867eb6e665b90ea6a3081c94/dsconfig.php#L26
This is not how the constant is supposed to be used.
The point is to define it unconditionally before loading the main config.php. So that the environment can be set up appropriately. This affects things like the format of thrown exceptions etc.
Resolved
https://github.com/logicexpertise/moodle-mod_onlyoffice/blob/bd2eb0ae2235c5ac867eb6e665b90ea6a3081c94/dsconfig.php#L26
This is not how the constant is supposed to be used.
The point is to define it unconditionally before loading the main config.php. So that the environment can be set up appropriately. This affects things like the format of thrown exceptions etc.