<?php
/**
* c_diensten.php
* Created by Komma Mediadesign.
* Author: mike
* Date: 7/23/13
*/
$loadFile=null;
if(defined('URL_SUB'))
{
$sub = str_replace('-','_',URL_SUB);
$file = DOCUMENT_ROOT . 'views/v_diensten_' . $sub . '.php';
if(is_file($file))
{
$loadFile = $file;
}
else
{
$this->notFound();
}
}
else
{
$this->notFound();
}