From: moodler Date: Fri, 7 Apr 2006 15:07:52 +0000 (+0000) Subject: Set the last modified time of the style sheet to the current time X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=08777eaf25c547f747c4c9f6ca5cded63c940d91;p=moodle.git Set the last modified time of the style sheet to the current time --- diff --git a/theme/chameleon/styles.php b/theme/chameleon/styles.php index 8428f99b96..fd3271b72d 100644 --- a/theme/chameleon/styles.php +++ b/theme/chameleon/styles.php @@ -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); ?> diff --git a/theme/cornflower/styles.php b/theme/cornflower/styles.php index d7f5c7af09..9bc66d3651 100644 --- a/theme/cornflower/styles.php +++ b/theme/cornflower/styles.php @@ -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); ?> diff --git a/theme/formal_white/styles.php b/theme/formal_white/styles.php index 5d191fbd60..bd329f640b 100644 --- a/theme/formal_white/styles.php +++ b/theme/formal_white/styles.php @@ -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); ?> diff --git a/theme/metal/styles.php b/theme/metal/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/metal/styles.php +++ b/theme/metal/styles.php @@ -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); ?> diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php index 8428f99b96..fd3271b72d 100644 --- a/theme/oceanblue/styles.php +++ b/theme/oceanblue/styles.php @@ -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); ?> diff --git a/theme/orangewhite/styles.php b/theme/orangewhite/styles.php index 5d191fbd60..bd329f640b 100644 --- a/theme/orangewhite/styles.php +++ b/theme/orangewhite/styles.php @@ -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); ?> diff --git a/theme/orangewhitepda/styles.php b/theme/orangewhitepda/styles.php index 5d191fbd60..bd329f640b 100644 --- a/theme/orangewhitepda/styles.php +++ b/theme/orangewhitepda/styles.php @@ -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); ?> diff --git a/theme/standard/styles.php b/theme/standard/styles.php index 8428f99b96..fd3271b72d 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -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); ?> diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -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); ?> diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -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); ?> diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -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); ?> diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -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); ?> diff --git a/theme/standardwhite/styles.php b/theme/standardwhite/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/standardwhite/styles.php +++ b/theme/standardwhite/styles.php @@ -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); ?> diff --git a/theme/wood/styles.php b/theme/wood/styles.php index 04bbc1014d..8359feddec 100644 --- a/theme/wood/styles.php +++ b/theme/wood/styles.php @@ -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); ?>