summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-18 15:53:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-18 15:53:51 +0000
commitaf32f93921120820d9af380b59f08831c9e8603d (patch)
tree732a335ce7c6cf5bc22bb3212da534ad9eded889 /usr/local/www
parent29fa93aa54f9ea148b984ac7cd601cb8a63f7431 (diff)
downloadpfsense-af32f93921120820d9af380b59f08831c9e8603d.zip
pfsense-af32f93921120820d9af380b59f08831c9e8603d.tar.gz
MFC 6960
Cleanup hardcoded meta refreshes
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/status_captiveportal.php2
-rwxr-xr-xusr/local/www/status_queues.php4
-rwxr-xr-xusr/local/www/status_wireless.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index c238f11..0d13cc7 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=status_captiveportal.php">
+<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['PHP_SELF']; ?>">
</body>
</html>
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 69854f5..880aec1 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -106,7 +106,7 @@ if(!isset($config['shaper']['enable'])) {
<p>
<strong><span class="red">Note:</span></strong><strong><br></strong>
Queue graphs take 5 seconds to sample data.<br>
- You can configure the TrafficShaper <a href="firewall_shaper.php?reset=true">here</a>.
+ You can configure the Traffic Shaper <a href="firewall_shaper.php?reset=true">here</a>.
</p>
</form>
<br><a href="status_queues.php?reset=true">Reset</a> queues if they do not load.
@@ -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=status_queues.php\">";
+ echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['PHP_SELF']}\">";
mwexec("/usr/bin/killall -9 pfctl");
mwexec("/usr/bin/killall -9 pfctl php");
exit;
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index 5302ca7..e8b281e 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -133,6 +133,6 @@ foreach($states as $state) {
</table>
<?php include("fend.inc"); ?>
-<meta http-equiv="refresh" content="120;url=status_wireless.php?if=<?php echo $if; ?>">
+<meta http-equiv="refresh" content="120;url=<?php print $_SERVER['PHP_SELF']; ?>?if=<?php echo $if; ?>">
</body>
</html>
OpenPOWER on IntegriCloud