mirror of
https://github.com/YunoHost-Apps/mytinytodo_ynh.git
synced 2024-09-03 19:46:01 +02: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 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');
|
|
|
|
?>
|