From fc91953db52bb662999bc93e108e93b8c0683e62 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 9 Sep 2011 17:24:19 -0400 Subject: [PATCH] Miscellaneous improvements --- js.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js.php b/js.php index b4fce66..aaff9ec 100644 --- a/js.php +++ b/js.php @@ -4,7 +4,8 @@ require('./config/config.php'); require('./config/JSMinPlus.php'); //Include the js groups -$groups = require("./config/js_groups.php"); +$groups_file = "./config/js_groups.php"; +$groups = require($groups_file); //The name of this file $this_file = 'js.php'; @@ -68,8 +69,9 @@ if(isset($groups[$_GET['g']])) $modified[] = filemtime($new_file); } - //Add this page too + //Add this page too, as well as the groups file $modified[] = filemtime($this_file); + $modified[] = filemtime($groups_file); $cache_modified = 0;