aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dashboard
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-03 20:22:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-03 20:22:32 +0000
commitac518968afc7e7a1e581b893ffe8ea0c410997be (patch)
treeca385dfb6e894cc6f239afee33e32838527fb909 /packages/dashboard
parent471d63e6c58e27cc6d8e149cbc00591165b8fdf8 (diff)
downloadpfsense-packages-ac518968afc7e7a1e581b893ffe8ea0c410997be.tar.gz
pfsense-packages-ac518968afc7e7a1e581b893ffe8ea0c410997be.tar.bz2
pfsense-packages-ac518968afc7e7a1e581b893ffe8ea0c410997be.zip
Make index.php not writable until package deinstallation.
Diffstat (limited to 'packages/dashboard')
-rw-r--r--packages/dashboard/dashboard.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dashboard/dashboard.inc b/packages/dashboard/dashboard.inc
index 85af9936..7c8feb75 100644
--- a/packages/dashboard/dashboard.inc
+++ b/packages/dashboard/dashboard.inc
@@ -7,9 +7,9 @@ function dashboard_install() {
mwexec("cp /usr/local/www/index.php /usr/local/www/index.php.before_dashboard");
/* backup the pre-dashboard fbegin.inc file */
mwexec("cp /usr/local/www/fbegin.inc /usr/local/www/fbegin.inc.before_dashboard");
- mwexec("chmod a-w /usr/local/www/index.php");
}
mwexec("tar xzvpf /usr/local/pkg/widgets.tgz -C /usr/local/www/");
+ mwexec("chmod a-w /usr/local/www/index.php");
}
function dashboard_deinstall() {