add further feature requirements

This commit is contained in:
2012-02-15 13:15:28 +00:00
bovenliggende 0fa7393436
commit 224a0a97bf
4 gewijzigde bestanden met toevoegingen van 142 en 139 verwijderingen

Bestand weergeven

@ -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();
}
}

Bestand weergeven

@ -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();
}
}