Accept language as parameter too (for lang styles)
This commit is contained in:
@@ -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);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user