MDL-75237 core: improve PARAM_SAFEPATH docs

This commit is contained in:
Petr Skoda 2022-07-15 19:16:52 +02:00 committed by Jenkins
parent 2f70b320bb
commit a50c80b52a

View File

@ -206,7 +206,10 @@ define('PARAM_RAW_TRIMMED', 'raw_trimmed');
define('PARAM_SAFEDIR', 'safedir');
/**
* PARAM_SAFEPATH - several PARAM_SAFEDIR joined by "/", suitable for include() and require(), plugin paths, etc.
* PARAM_SAFEPATH - several PARAM_SAFEDIR joined by "/", suitable for include() and require(), plugin paths
* and other references to Moodle code files.
*
* This is NOT intended to be used for absolute paths or any user uploaded files.
*/
define('PARAM_SAFEPATH', 'safepath');