<?php

exit('DO NOT USE');
// Use "app/Http/Controllers/CategoryController.php" instead.


/*

    $path = '../';
    require_once $path . 'core/includes/header.inc.php';

    use App\CategoryLanding;


    $slug = trim($_REQUEST['slug'], '/');

    if (!$category = (new \Mtc\Shop\Category())->where('slug', $slug)->first()) {
        header('location: /online-doctor/');
        exit;
    }


    //Build category content data
    CategoryLanding::buildLandingPageData($category);


    $fullscreen = (bool)request()->input('fullscreen');

    if($fullscreen) {
        //Render the category landing template
        CategoryLanding::renderTemplate('shop/category/fullscreen_products.twig');
    }else{
        //Render the category landing template
        CategoryLanding::renderTemplate('shop/category/landing.twig');
    }

*/
