Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. */ require_once('./init.php'); $lang = Lang::instance(); if($lang->rtl()) Config::set('rtl', 1); if(!is_int(Config::get('firstdayofweek')) || Config::get('firstdayofweek')<0 || Config::get('firstdayofweek')>6) Config::set('firstdayofweek', 1); define('TEMPLATEPATH', MTTPATH. 'themes/'.Config::get('template').'/'); require(TEMPLATEPATH. 'index.php'); ?>