require_once("../../config.php"); // Load up the Moodle libraries
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
+ $lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language
- style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
+ style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
?>