diff options
Diffstat (limited to 'config/dashboard/dashboard.inc')
-rw-r--r-- | config/dashboard/dashboard.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/dashboard/dashboard.inc b/config/dashboard/dashboard.inc index 8696cb9b..732eb977 100644 --- a/config/dashboard/dashboard.inc +++ b/config/dashboard/dashboard.inc @@ -7,9 +7,9 @@ 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(); } |