summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-03 21:05:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-03 21:05:06 +0000
commit555d3758fc55949578658bf81123f8ffc614c606 (patch)
tree4ce6f7bc8c13e51f0eef0b9da08056accff62e74 /usr/local
parent742ee135b8895817f545a326824392803c37b91d (diff)
downloadpfsense-555d3758fc55949578658bf81123f8ffc614c606.zip
pfsense-555d3758fc55949578658bf81123f8ffc614c606.tar.gz
MFC
s/PHP_SELF/SCRIPT_NAME/ - PHP_SELF == "" for some reason with lighty
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/carp_status.php2
-rwxr-xr-xusr/local/www/diag_dhcp_leases.php2
-rwxr-xr-xusr/local/www/diag_ipsec_sad.php2
-rwxr-xr-xusr/local/www/diag_logs_filter.php2
-rwxr-xr-xusr/local/www/diag_logs_ipsec.php2
-rw-r--r--usr/local/www/diag_logs_openvpn.php2
-rwxr-xr-xusr/local/www/diag_logs_slbd.php2
-rwxr-xr-xusr/local/www/status_captiveportal.php2
-rwxr-xr-xusr/local/www/status_interfaces.php2
-rwxr-xr-xusr/local/www/status_queues.php4
-rwxr-xr-xusr/local/www/status_rrd_graph.php2
-rwxr-xr-xusr/local/www/status_wireless.php2
12 files changed, 13 insertions, 13 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index 008303e..82d4082 100755
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -169,7 +169,7 @@ include("head.inc");
</table>
</div>
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
<?php include("fend.inc"); ?>
diff --git a/usr/local/www/diag_dhcp_leases.php b/usr/local/www/diag_dhcp_leases.php
index f515c90..0f01b7a 100755
--- a/usr/local/www/diag_dhcp_leases.php
+++ b/usr/local/www/diag_dhcp_leases.php
@@ -276,7 +276,7 @@ foreach ($leases as $data) {
<p><strong>No leases file found. Is the DHCP server active?</strong></p>
<?php endif; ?>
-<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
<?php include("fend.inc"); ?>
</body>
diff --git a/usr/local/www/diag_ipsec_sad.php b/usr/local/www/diag_ipsec_sad.php
index cf0a15d..c5d2eb6 100755
--- a/usr/local/www/diag_ipsec_sad.php
+++ b/usr/local/www/diag_ipsec_sad.php
@@ -145,7 +145,7 @@ foreach ($sad as $sa): ?>
</table>
-<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
<?php include("fend.inc"); ?>
</body>
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index 2ef72ed..887cb2b 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -290,6 +290,6 @@ function outputrule(req) {
}
</script>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
</body>
</html>
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php
index 3db6f21..c930ead 100755
--- a/usr/local/www/diag_logs_ipsec.php
+++ b/usr/local/www/diag_logs_ipsec.php
@@ -92,6 +92,6 @@ include("head.inc");
</tr>
</table>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
</body>
</html>
diff --git a/usr/local/www/diag_logs_openvpn.php b/usr/local/www/diag_logs_openvpn.php
index 3d71fe7..3d7fe10 100644
--- a/usr/local/www/diag_logs_openvpn.php
+++ b/usr/local/www/diag_logs_openvpn.php
@@ -93,6 +93,6 @@ include("head.inc");
</tr>
</table>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
</body>
</html>
diff --git a/usr/local/www/diag_logs_slbd.php b/usr/local/www/diag_logs_slbd.php
index d7fea59..130f019 100755
--- a/usr/local/www/diag_logs_slbd.php
+++ b/usr/local/www/diag_logs_slbd.php
@@ -86,6 +86,6 @@ include("head.inc");
</tr>
</table>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
</body>
</html>
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 999daaf..a4c7875 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -126,7 +126,7 @@ captiveportal_unlock();
</p>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
</body>
</html>
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index b756161..517b0f9 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -381,6 +381,6 @@ is kept disconnected.
<p>
<span class="red"><strong>Note:</strong></span> In/out counters will wrap at 32bit (4 Gigabyte) ! <br/>
-<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
<?php include("fend.inc"); ?>
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 188bd38..6078a9e 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -111,7 +111,7 @@ if(!isset($config['shaper']['enable'])) {
</form>
<br><a href="status_queues.php?reset=true">Reset</a> queues if they do not load.
-<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
<?php include("fend.inc"); ?>
</body>
@@ -172,7 +172,7 @@ While(!Connection_Aborted()) {
$counter++;
if($counter > 40) {
echo "Redirecting to <a href=\"status_queues.php\">Queue Status</a>.<p>";
- echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['PHP_SELF']}\">";
+ echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['SCRIPT_NAME']}\">";
mwexec("/usr/bin/killall pfctl");
mwexec("/usr/bin/killall pfctl");
exit;
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index ae6a4ba..2098499 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -237,7 +237,7 @@ SRC=\"rrd/$curif-$interval-$curgraph.png\"><BR><BR>";
</div>
-<meta http-equiv="refresh" content="300;url=<?php print $_SERVER['PHP_SELF']; ?>">
+<meta http-equiv="refresh" content="300;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
<?php include("fend.inc"); ?>
</body>
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index c5e6e84..acf4757 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -169,6 +169,6 @@ if ($mode == 'bss') {
</table>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['PHP_SELF']; ?>?if=<?php echo $if; ?>">
+<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['SCRIPT_NAME']; ?>?if=<?php echo $if; ?>">
</body>
</html>
OpenPOWER on IntegriCloud