Mercurial > hg > ywww
comparison index.php @ 44:38d209611508
change includes to assume (contra previos ASSUMES) that we have .user.ini which adds /var/test to include_path
author | Charlie Root |
---|---|
date | Sun, 06 Jan 2019 07:17:03 -0500 |
parents | dbc006408d2b |
children | 8bc395c87c6f |
comparison
equal
deleted
inserted
replaced
43:dbc006408d2b | 44:38d209611508 |
---|---|
1 <?php | 1 <?php |
2 include_once "dlog.php"; | 2 include_once "ywww/dlog.php"; |
3 | 3 |
4 if (isset($_SERVER["GEOIP_COUNTRY_CODE"])) { | 4 if (isset($_SERVER["GEOIP_COUNTRY_CODE"])) { |
5 $country_code = $_SERVER["GEOIP_COUNTRY_CODE"]; | 5 $country_code = $_SERVER["GEOIP_COUNTRY_CODE"]; |
6 } | 6 } |
7 elseif (isset($_SERVER["REDIRECT_GEOIP_COUNTRY_CODE"])) { | 7 elseif (isset($_SERVER["REDIRECT_GEOIP_COUNTRY_CODE"])) { |