summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-15 12:51:54 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-15 12:53:11 -0500
commit09ba8bb752171fe02c67c7983bc8ceeab63f804c (patch)
tree5c156d5c79d5ac8ae762797370cbd5d5909b310e /src/usr/local/www/head.inc
parentca0f9142e9dea13e25f534866cdd96ff0ba39489 (diff)
downloadpfsense-09ba8bb752171fe02c67c7983bc8ceeab63f804c.zip
pfsense-09ba8bb752171fe02c67c7983bc8ceeab63f804c.tar.gz
Fixed: #7251
Force JS and CSS files to reload if hte file mtimes change
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r--src/usr/local/www/head.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index 297ec5a..27fb8f7 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -54,9 +54,10 @@ if (!isset($config['system']['webgui']['dashboardcolumns'])) {
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css">
- <link rel="stylesheet" href="/vendor/sortable/sortable-theme-bootstrap.css">
- <link rel="stylesheet" href="<?=$cssfile?>" />
+ <link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css?v=<?=filemtime('/usr/local/www/vendor/font-awesome/css/font-awesome.min.css')?>">
+ <link rel="stylesheet" href="/vendor/sortable/sortable-theme-bootstrap.css?v=<?=filemtime('/usr/local/www/vendor/sortable/sortable-theme-bootstrap.css')?>">
+ <link rel="stylesheet" href="<?=$cssfile?>?v=<?=filemtime('/usr/local/www/' . $cssfile)?>" />
+
<title><?=$tabtitle?></title>
<script type="text/javascript">
//<![CDATA[
OpenPOWER on IntegriCloud