diff index.php @ 40:77ff181476b8

geoip fix?, better debugging
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 30 Jul 2017 05:36:07 -0400
parents 5f4560ac65b7
children 84a412b8122c
line wrap: on
line diff
--- a/index.php	Sat Feb 18 15:18:47 2017 +0000
+++ b/index.php	Sun Jul 30 05:36:07 2017 -0400
@@ -1,5 +1,5 @@
 <?php 
-		$country_code = apache_note("GEOIP_COUNTRY_CODE");	  
+		$country_code = $_SERVER["GEOIP_COUNTRY_CODE"];	  
 		switch($country_code){
 		/* case "CA":
 			Header( "HTTP/1.1 301 Moved Permanently" );