diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 8c8676e1ed..4a19e2943d 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -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; } diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php index 008303ed1b..82d40828c1 100755 --- a/usr/local/www/carp_status.php +++ b/usr/local/www/carp_status.php @@ -169,7 +169,7 @@ include("head.inc"); - + diff --git a/usr/local/www/diag_dhcp_leases.php b/usr/local/www/diag_dhcp_leases.php index f515c90d8e..0f01b7a642 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) {
No leases file found. Is the DHCP server active?
- +