mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
MFC
s/PHP_SELF/SCRIPT_NAME/ - PHP_SELF == "" for some reason with lighty
This commit is contained in:
parent
742ee135b8
commit
555d3758fc
@ -75,7 +75,7 @@ function get_dns_servers() {
|
||||
* null
|
||||
******/
|
||||
function log_error($error) {
|
||||
$page = $_SERVER['PHP_SELF'];
|
||||
$page = $_SERVER['SCRIPT_NAME'];
|
||||
syslog(LOG_WARNING, "$page: $error");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -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"); ?>
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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"); ?>
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user