mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
Set the last modified time of the style sheet to the current time
This commit is contained in:
parent
6bf277d7c5
commit
08777eaf25
@ -14,6 +14,6 @@
|
||||
$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('config.php'), $lifetime, $themename, $forceconfig, $lang);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -14,6 +14,6 @@
|
||||
$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('config.php'), $lifetime, $themename, $forceconfig, $lang);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -14,6 +14,6 @@
|
||||
$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('config.php'), $lifetime, $themename, $forceconfig, $lang);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
@ -13,6 +13,6 @@
|
||||
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
||||
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
||||
|
||||
style_sheet_setup(filemtime('config.php'), $lifetime, $themename, $forceconfig);
|
||||
style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user