Accept language as parameter too (for lang styles)

This commit is contained in:
moodler
2005-04-24 04:10:01 +00:00
parent 20e0831a1b
commit 0bf465d203
+2 -1
View File
@@ -12,7 +12,8 @@
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(filemtime('styles.php'), $lifetime, $themename, $forceconfig);
style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig, $lang);
?>