diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 15:35:44 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 15:35:44 +0000 |
commit | cab0986cba091ab07debabca1c44ab4bffd14e28 (patch) | |
tree | ffc9798df9ede3a3880ca1758e0f7ecd95fc3ff9 | |
parent | 5b243f4ea7750ebbdd82bb391a47963626872b4e (diff) | |
download | pfsense-cab0986cba091ab07debabca1c44ab4bffd14e28.zip pfsense-cab0986cba091ab07debabca1c44ab4bffd14e28.tar.gz |
Set *.php to 755 before restarting mini_httpd
-rwxr-xr-x | usr/local/www/restart_httpd.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/restart_httpd.php b/usr/local/www/restart_httpd.php index e049ee8..39a7e91 100755 --- a/usr/local/www/restart_httpd.php +++ b/usr/local/www/restart_httpd.php @@ -39,9 +39,12 @@ include("head.inc"); <p class="pgtitle"><?php echo $pgtitle; ?></p> +Forcing all PHP file permissions to 0755... +<?php flush(); sleep(1); system('chmod 0755 /usr/local/www/*.php'); ?> +Done.<br> Restarting mini_httpd... <?php flush(); sleep(1); system_webgui_start(); ?> -Done. +Done.<br> <?php include("fend.inc"); |