getPages())) redirect(URL_SITE.'404');
}
# Get the controller
include PATH_CONTROLLERS.'app.php';
include PATH_CONTROLLERS.$pagetype.'.php';
# The final thing we do - finalise and output the debug
$debug->logpoint('Finalizing debug', 'Before the debug is output to the page.');
$debug->output($smarty, $db);