summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
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/www/status_queues.php
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/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud