mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
20 lines
No EOL
536 B
PHP
20 lines
No EOL
536 B
PHP
<?php
|
|
/*
|
|
This file is part of myTinyTodo.
|
|
(C) Copyright 2009-2010 Max Pozdeev <maxpozdeev@gmail.com>
|
|
Licensed under the GNU GPL v3 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');
|
|
|
|
?>
|