Add data_sys, conf_sys, temp_sys and log_sys optional settings in configuration.php
In configuration.php, the $_configuration['course_folder'] setting still indicates 'courses/' (which is fine if the rest is updated).
In order for Chamilo to be 'packageable' (see #5871), we should make it possible for the admin (or the packaging system) to define a 'data_sys' directory which would be used to store the data directory.
If not defined, we should assume it is the 'data/' directory. If defined, we should use this definition (in api_get_path()) to build all the links to courses.
I'm happy to take this in charge. I'm just asking what you think.
Updated by Julio Montoya almost 7 years ago
- Assignee changed from Julio Montoya to Yannick Warnier
- % Done changed from 0 to 50
I think this is already resolved.
The "courses" folder was moved inside the "data" folder, then a sysadmin can move it (in theory) in other place.
We added the possibility to do this but the current code will not work if you move "data" somewhere else, basically due the legacy code wich needs revision to allow this feature working at 100%.
The parameters to change are:
The data path:
The courses path: