mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-9977 and MDL-8446 - added $CFG->langdirection to be able to deal with ltr/rtl languages and correct themes.
This commit is contained in:
parent
bfdc0bcedb
commit
aa2ed80397
@ -587,6 +587,8 @@ global $HTTPSPAGEREQUIRED;
|
||||
$CFG->lang = $SESSION->lang;
|
||||
}
|
||||
}
|
||||
|
||||
$CFG->langdirection = (get_string('thisdirection') == 'rtl') ? 'rtl' : 'ltr';
|
||||
|
||||
// set default locale and themes - might be changed again later from require_login()
|
||||
course_setup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user