File: D:/HostingSpaces/SBogers10/spire.komma-mediadesign.nl/wwwroot/mvc/controllers/c_support.php
<?php
$sub = '';
if(defined('URL_SUB') && URL_SUB != '')
{
$sub = URL_SUB;
}
else
{
// header ('HTTP/1.1 301 Moved Permanently');
header ('Location: '.SITE_ROOT.URL_PAGE.'/product-registration/');
exit();
}
/*
* Set Content View Path
*/
switch($sub)
{
case 'product-registration':
$this->load('mvc/controllers/c_support_product_registration.php');
break;
case 'warranty':
$this->load('mvc/controllers/c_support_warranty.php');
break;
case 'mobile-faq':
$this->load('mvc/controllers/c_support_mobile.php');
break;
default:
$this->notFound();
}