diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-12 15:34:58 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-12 16:23:13 -0300 |
commit | eec44c64709c6e9dfc86f734476e547c3c2f67e8 (patch) | |
tree | 1b2f3203ecc809aa2cef3ff6062319bd72feb882 /src/usr/local/www/restart_httpd.php | |
parent | 60f164f33ea3248c22b2924e4f929539a04febbe (diff) | |
download | pfsense-eec44c64709c6e9dfc86f734476e547c3c2f67e8.zip pfsense-eec44c64709c6e9dfc86f734476e547c3c2f67e8.tar.gz |
Retire restart_httpd.php
Diffstat (limited to 'src/usr/local/www/restart_httpd.php')
-rw-r--r-- | src/usr/local/www/restart_httpd.php | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/usr/local/www/restart_httpd.php b/src/usr/local/www/restart_httpd.php deleted file mode 100644 index a1b715b..0000000 --- a/src/usr/local/www/restart_httpd.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php -/* - * restart_httpd.php - * - * part of pfSense (https://www.pfsense.org) - * Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate) - * Copyright (c) 2005 Bill Marquette <bill.marquette@gmail.com> - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -##|+PRIV -##|*IDENT=page-diagnostics-restart-httpd -##|*NAME=Diagnostics: Restart Web Server Daemon -##|*DESCR=Allow access to the 'Diagnostics: Restart Web Server Daemon' page. -##|*MATCH=restart_httpd.php* -##|-PRIV - -require_once("guiconfig.inc"); - -$pgtitle = array(gettext("Restarting httpd")); -include("head.inc"); -?> - -<form> -<?php include_once("fbegin.inc"); ?> - -<?=gettext("Mounting file systems read/write");?>... -<?php flush(); sleep(1); conf_mount_rw(); ?> -<?=gettext("Done");?>.<br /> -<?=gettext("Forcing all PHP file permissions to 0755");?>... -<?php flush(); sleep(1); system('/bin/chmod -R 0755 /usr/local/www/*.php'); ?> -<?=gettext("Done");?>.<br /> -<?=gettext("Mounting file systems read only");?>... -<?php flush(); sleep(1); conf_mount_ro(); ?> -<?=gettext("Done");?>.<br /> -<?=gettext("Restarting mini_httpd");?>... -<?php flush(); sleep(1); system_webgui_start(); ?> -<?=gettext("Done");?>.<br /> - -<?php -include("foot.inc"); -?> |