fix getting shopurl (ee)

This commit is contained in:
Tobias Merkl 2020-08-18 15:52:35 +02:00
parent 6d955441b4
commit 93bf8fe856
No known key found for this signature in database
GPG Key ID: B971FFBCFA6D09BC
3 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@
* @copyright (c) ProudCommerce | 2020 * @copyright (c) ProudCommerce | 2020
* @link www.proudcommerce.com * @link www.proudcommerce.com
* @package psCacheWarmer * @package psCacheWarmer
* @version 3.0.0 * @version 3.0.1
**/ **/
namespace ProudCommerce\CacheWarmer\Core; namespace ProudCommerce\CacheWarmer\Core;
@ -123,7 +123,7 @@ class CacheWarmer
*/ */
protected function _getSitemapUrl() protected function _getSitemapUrl()
{ {
$sSitemapUrl = Registry::getConfig()->getConfigParam('sShopURL'); $sSitemapUrl = Registry::getConfig()->getShopURL();
$sSitemapUrl .= Registry::getConfig()->getShopConfVar('psCacheWarmerSitemapUrl'); $sSitemapUrl .= Registry::getConfig()->getShopConfVar('psCacheWarmerSitemapUrl');
return $sSitemapUrl; return $sSitemapUrl;
} }

View File

@ -20,6 +20,7 @@ Usage
Changelog Changelog
2020-08-18 3.0.1 fix getting shopurl (ee)
2020-08-17 3.0.0 cli only, some improvements 2020-08-17 3.0.0 cli only, some improvements
2020-08-06 2.2.1 fix for OXID 6.2 2020-08-06 2.2.1 fix for OXID 6.2
2019-07-19 2.2.0 Write Report in a file (PR #3) 2019-07-19 2.2.0 Write Report in a file (PR #3)

View File

@ -8,7 +8,7 @@
* @copyright (c) ProudCommerce | 2020 * @copyright (c) ProudCommerce | 2020
* @link www.proudcommerce.com * @link www.proudcommerce.com
* @package psCacheWarmer * @package psCacheWarmer
* @version 3.0.0 * @version 3.0.1
**/ **/
/** /**
@ -27,7 +27,7 @@ $aModule = [
'en' => 'Automatically calling urls using the xml-sitemap, eg. for cache warmup.', 'en' => 'Automatically calling urls using the xml-sitemap, eg. for cache warmup.',
], ],
'thumbnail' => 'logo_pc-os.jpg', 'thumbnail' => 'logo_pc-os.jpg',
'version' => '3.0.0', 'version' => '3.0.1',
'author' => 'ProudCommerce', 'author' => 'ProudCommerce',
'url' => 'https://github.com/proudcommerce/psCacheWarmer', 'url' => 'https://github.com/proudcommerce/psCacheWarmer',
'email' => '', 'email' => '',