summaryrefslogtreecommitdiffstats
path: root/src/etc/inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-11-23 09:24:32 -0500
committerjim-p <jimp@pfsense.org>2015-11-23 09:24:49 -0500
commit97433447b5e047afab23f916cbe6bb89c8c3c398 (patch)
tree95b80ef9cbe0c6090fe7f330487e6a73ea1e84d2 /src/etc/inc
parentde73f5e9bb0b832ca11b7abf2f50a4d91d0db442 (diff)
downloadpfsense-97433447b5e047afab23f916cbe6bb89c8c3c398.zip
pfsense-97433447b5e047afab23f916cbe6bb89c8c3c398.tar.gz
Also get time zones three levels deep. Fixes #5517
Diffstat (limited to 'src/etc/inc')
-rw-r--r--src/etc/inc/system.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
index 544debf..7b40de1 100644
--- a/src/etc/inc/system.inc
+++ b/src/etc/inc/system.inc
@@ -1502,7 +1502,8 @@ function system_get_timezone_list() {
$file_list = array_merge(
glob("/usr/share/zoneinfo/[A-Z]*"),
- glob("/usr/share/zoneinfo/*/*")
+ glob("/usr/share/zoneinfo/*/*"),
+ glob("/usr/share/zoneinfo/*/*/*")
);
if (empty($file_list)) {
OpenPOWER on IntegriCloud