add further feature requirements
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
class d3_oxcmp_cur_geoip extends d3_oxcmp_cur_geoip_parent
|
||||
{
|
||||
<?php
|
||||
|
||||
class d3_oxcmp_cur_geoip extends d3_oxcmp_cur_geoip_parent
|
||||
{
|
||||
private $_sModId = 'd3_geoip';
|
||||
|
||||
public function init()
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
if (d3_cfg_mod::get($this->_sModId)->getValue('blDebugmodeGlobal'))
|
||||
{
|
||||
$oGeoIp = oxNew('d3geoip');
|
||||
@ -14,9 +14,9 @@ class d3_oxcmp_cur_geoip extends d3_oxcmp_cur_geoip_parent
|
||||
|
||||
$oLocation = oxNew('d3geoip');
|
||||
//$oLocation->setUserCountry();
|
||||
$oLocation->setCountryCurrency();
|
||||
|
||||
return parent::init();
|
||||
}
|
||||
$oLocation->setCountryCurrency();
|
||||
|
||||
return parent::init();
|
||||
}
|
||||
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
class d3_oxcmp_lang_geoip extends d3_oxcmp_lang_geoip_parent
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
<?php
|
||||
|
||||
class d3_oxcmp_lang_geoip extends d3_oxcmp_lang_geoip_parent
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
$oLocation = oxNew('d3geoip');
|
||||
//$oLocation->setUserCountry();
|
||||
$oLocation->setCountryLanguage();
|
||||
|
||||
return parent::init();
|
||||
}
|
||||
//$oLocation->setUserCountry();
|
||||
$oLocation->setCountryLanguage();
|
||||
|
||||
return parent::init();
|
||||
}
|
||||
}
|
Verwijs in nieuw issue
Block a user