summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 8c8676e..4a19e29 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;
}
OpenPOWER on IntegriCloud