From 76f57ec0a4c7f7a0353a0a48d9fbb58392a214ad Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 26 May 2009 01:19:39 -0400 Subject: Dashboard 0.7.7 Add an alpha-quality OpenVPN Widget A few fixes to the IPSec status widget Stuck a fresh copy of the stock fbegin.inc in the tgz file, the previous method of trying to preserve the file was problematic for existing users. --- config/dashboard/dashboard.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'config/dashboard/dashboard.inc') diff --git a/config/dashboard/dashboard.inc b/config/dashboard/dashboard.inc index cc37c8f5..8696cb9b 100644 --- a/config/dashboard/dashboard.inc +++ b/config/dashboard/dashboard.inc @@ -4,10 +4,7 @@ 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 + /* 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("cp /usr/local/www/diag_logs_filter.php /usr/local/www/diag_logs_filter.php.before_dashboard"); -- cgit v1.2.3