aboutsummaryrefslogtreecommitdiffstats
path: root/config/dashboard
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-06-10 09:26:17 -0400
committerjim-p <jim@pingle.org>2009-06-10 09:27:16 -0400
commitc0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e (patch)
treedf862fdf2c3c15ade92662ec5ccb32f436568c4a /config/dashboard
parenta24a6994a246ee3d869a17540a916288032dbfc6 (diff)
downloadpfsense-packages-c0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e.tar.gz
pfsense-packages-c0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e.tar.bz2
pfsense-packages-c0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e.zip
Dashboard update: Use apc_clear_cache() after install to make sure that the proper index.php appears.
Diffstat (limited to 'config/dashboard')
-rw-r--r--config/dashboard/dashboard.inc3
-rw-r--r--config/dashboard/dashboard.xml2
2 files changed, 3 insertions, 2 deletions
diff --git a/config/dashboard/dashboard.inc b/config/dashboard/dashboard.inc
index 732eb977..09472500 100644
--- a/config/dashboard/dashboard.inc
+++ b/config/dashboard/dashboard.inc
@@ -7,11 +7,12 @@ function dashboard_install() {
/* Copy files for backup. For some odd reason, mv alone does
* not always result in the proper file being used. */
mwexec("cp /usr/local/www/index.php /usr/local/www/index.php.before_dashboard");
- mwexec("rm /usr/local/www/index.php");
mwexec("cp /usr/local/www/diag_logs_filter.php /usr/local/www/diag_logs_filter.php.before_dashboard");
mwexec("cp /usr/local/www/diag_logs_filter_dynamic.php /usr/local/www/diag_logs_filter_dynamic.php.before_dashboard");
mwexec("tar xzvpUf /usr/local/pkg/widgets.tgz -C /");
assign_privs();
+ /* Clear the APC cache so that the updates to installed files will work. */
+ apc_clear_cache();
}
function assign_privs() {
diff --git a/config/dashboard/dashboard.xml b/config/dashboard/dashboard.xml
index 165c097e..75dc5981 100644
--- a/config/dashboard/dashboard.xml
+++ b/config/dashboard/dashboard.xml
@@ -46,7 +46,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>dashboard</name>
- <version>0.8.3</version>
+ <version>0.8.3_1</version>
<title>Dashboard</title>
<include_file>/usr/local/pkg/dashboard.inc</include_file>
<additional_files_needed>