HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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();
}