$nav[0] = "Foto's"; # override of root 'foto'
$title = array_pop($nav);
$Page->title = ($nav ? implode(' ', $nav) . ': ' : '') . $title;
if ($_SERVER['HTTP_ACCEPT'] === 'application/json') {
header('Access-Control-Allow-Origin: *');
$nav[0] = "Foto's"; # override of root 'foto'
$title = array_pop($nav);
$Page->title = ($nav ? implode(' ', $nav) . ': ' : '') . $title;
if ($_SERVER['HTTP_ACCEPT'] === 'application/json') {
header('Access-Control-Allow-Origin: *');