Mercurial > hg > ywww
comparison index.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
author | Charlie Root |
---|---|
date | Wed, 16 Jan 2019 13:42:15 -0500 |
parents | 8bc395c87c6f |
children | 99a730ffeaf6 |
comparison
equal
deleted
inserted
replaced
48:da133c130c1d | 49:a67bf725e87b |
---|---|
1 <?php | 1 <?php |
2 include_once "ywww/dlog.php"; | 2 include_once "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"])) { |