summaryrefslogtreecommitdiffstats
path: root/usr/local/www/restart_httpd.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/restart_httpd.php')
-rwxr-xr-xusr/local/www/restart_httpd.php5
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");
OpenPOWER on IntegriCloud