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:
urs_hunkler 2007-06-10 13:44:05 +00:00
parent bfdc0bcedb
commit aa2ed80397

View File

@ -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();