the issue is with line 8, I can't work out where to put the bracket/s

<?php 
defined('APPLICATION_PATH') || define('APPLICATION_PATH',realpath(dirname(__FILE__) . '/../app'));
const DS = DIRECTORY_SEPARATOR;
require APPLICATION_PATH . DS .'config' . DS . 'config.php';

//index.php?page=

$page = get (name:'page', def: 'home');

$model = $config['MODEL_PATH'] . $page . '.php';
$view  = $config['VIEW'] . $page . '.phtml';
$_404  = $config['VIEW'] . $page . '.phtml';

if(file_exists($model))
{
    require $model;
}

$main_content = $_404;

if(file_exists($view))
{
    $main_content = $view;
}


include $config['VIEW'] . $page . 'navbar.phtml';
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.