aboutsummaryrefslogtreecommitdiffstats
path: root/config/dashboard/dashboard.inc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-05-16 00:37:22 -0400
committerjim-p <jim@pingle.org>2009-05-16 00:37:22 -0400
commit631276fc8bc5cb43d318d83e9961f5209552a25e (patch)
tree2ac4c567cbdc470d7b9da4bc78b24704418e5720 /config/dashboard/dashboard.inc
parentcde38669b502666b6775a0b950a31f0534018489 (diff)
downloadpfsense-packages-631276fc8bc5cb43d318d83e9961f5209552a25e.tar.gz
pfsense-packages-631276fc8bc5cb43d318d83e9961f5209552a25e.tar.bz2
pfsense-packages-631276fc8bc5cb43d318d83e9961f5209552a25e.zip
Dashboard package: Copy back fbegin.inc in case someone had an old version that removed it and the new version didn't replace it.
Diffstat (limited to 'config/dashboard/dashboard.inc')
-rw-r--r--config/dashboard/dashboard.inc3
1 files changed, 3 insertions, 0 deletions
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. */