release 0.267: front layout/basket fixes and product redirect hardening
This commit is contained in:
@@ -34,6 +34,9 @@ class Site
|
||||
if ( \S::get( 'category' ) )
|
||||
$layout = \front\factory\Layouts::category_layout( \S::get( 'category' ) );
|
||||
|
||||
if ( !$layout and \S::get( 'module' ) )
|
||||
$layout = \front\factory\Layouts::default_layout();
|
||||
|
||||
if ( !$layout )
|
||||
$layout = \front\factory\Layouts::active_layout( $page['id'] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user