MDL-13084 SORT_LOCALE_STRING not defined < PHP 4.4.0; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-01-21 18:18:07 +00:00
parent 6dac764d18
commit fd6fefb790
+3
View File
@@ -261,6 +261,9 @@ define ('BLOG_GLOBAL_LEVEL', 5);
*/
define('TAG_MAX_LENGTH', 50);
if (!defined('SORT_LOCALE_STRING')) { // PHP < 4.4.0 - TODO: remove in 2.0
define('SORT_LOCALE_STRING', SORT_STRING);
}
/// PARAMETER HANDLING ////////////////////////////////////////////////////