This commit is contained in:
Kevin Adametz 2020-02-14 10:18:44 +01:00
parent 3c0ab0f627
commit 1e8d5a31cf
98 changed files with 3716 additions and 711 deletions

View file

@ -63,8 +63,8 @@ class SiteController extends Controller
}
}
if($site == 'produkte'){
if($subsite || $subsite != 'alle-produkte') {
if($site === 'produkte'){
if($subsite || $subsite !== 'alle-produkte') {
$category = Category::where('slug', $subsite)->where('active', true)->first();
if ($category) {
$headline_image = false;