From 631276fc8bc5cb43d318d83e9961f5209552a25e Mon Sep 17 00:00:00 2001 From: jim-p Date: Sat, 16 May 2009 00:37:22 -0400 Subject: Dashboard package: Copy back fbegin.inc in case someone had an old version that removed it and the new version didn't replace it. --- config/dashboard/dashboard.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/dashboard/dashboard.inc') diff --git a/config/dashboard/dashboard.inc b/config/dashboard/dashboard.inc index f539e90c..cc37c8f5 100644 --- a/config/dashboard/dashboard.inc +++ b/config/dashboard/dashboard.inc @@ -3,6 +3,9 @@ function dashboard_install() { global $g, $config; assign_privs(); + + if (file_exists("/usr/local/www/fbegin.inc.before_dashboard")) + mwexec("mv /usr/local/www/fbegin.inc.before_dashboard /usr/local/www/fbegin.inc"); /* Copy, then rm the files for backup. For some odd reason, mv alone does * not always result in the proper file being used. */ -- cgit v1.2.3