diff options
Diffstat (limited to 'usr/local/www/restart_httpd.php')
-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"); |