Skip to content

Commit

Permalink
Made default site code configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Dec 23, 2021
1 parent e19bb36 commit c80dccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aimeos/Shop/Base/Locale.php
Expand Up @@ -54,7 +54,7 @@ public function get( \Aimeos\MShop\Context\Item\Iface $context ) : \Aimeos\MShop
{
if( $this->locale === null )
{
$site = Request::input( 'site', 'default' );
$site = Request::input( 'site', config( 'shop.site_default', 'default' ) );
$lang = Request::input( 'locale', app()->getLocale() );
$currency = Request::input( 'currency', '' );

Expand Down

0 comments on commit c80dccc

Please sign in to comment.