<?php
/*
* @author mides <Mike Osendowski>
* @link http://midwm.org
* @copyright 2011-2014
*/
require_once 'core/system.php';
if ($mod && file_exists('modules/'.$mod.'/index.php'))
{
require_once('modules/'.$mod.'/index.php');
}
elseif ($mod == FALSE)
{
$index = TRUE;
require_once('modules/index/index.php');
}
else
{
redirect(HTTPHOME);
}
require_once 'core/footer.php';