rm testin pritn
This commit is contained in:
parent
ce5987030a
commit
be2c7cffa2
|
@ -36,7 +36,6 @@ function simple_location_post_save($post_id) {
|
||||||
$ipLite = new ip2location_lite;
|
$ipLite = new ip2location_lite;
|
||||||
$ipLite->setKey($key);
|
$ipLite->setKey($key);
|
||||||
$locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']);
|
$locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']);
|
||||||
print_r($locations);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($_POST['city'] == '') {
|
if ($_POST['city'] == '') {
|
||||||
|
|
Loading…
Reference in New Issue