2017-03-25 18:31:20 +01:00
|
|
|
<?php
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Configuration goes here
|
2017-03-25 18:31:20 +01:00
|
|
|
$config = array();
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Database type: sqlite or mysql
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['db'] = 'mysql';
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Specify these settings if you selected above to use Mysql
|
|
|
|
$config['mysql.host'] = "localhost";
|
|
|
|
$config['mysql.db'] = "__DB_NAME__";
|
|
|
|
$config['mysql.user'] = "__DB_NAME__";
|
2021-03-16 17:46:33 +01:00
|
|
|
$config['mysql.password'] = "__DB_PWD__";
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Tables prefix
|
|
|
|
$config['prefix'] = "mtt_";
|
|
|
|
|
|
|
|
# These two parameters are used when mytinytodo index.php called not from installation directory
|
|
|
|
# 'url' - URL where index.php is called from (ex.: http://site.com/todo.php)
|
|
|
|
# 'mtt_url' - directory URL where mytinytodo is installed (with trailing slash) (ex.: http://site.com/lib/mytinytodo/)
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['url'] = '';
|
2020-12-31 23:19:32 +01:00
|
|
|
$config['mtt_url'] = '';
|
|
|
|
|
|
|
|
# Language pack
|
|
|
|
$config['lang'] = "__LANGUAGE__";
|
|
|
|
|
|
|
|
# Specify password here to protect your tasks from modification,
|
|
|
|
# or leave empty that everyone could read/write todolist
|
|
|
|
$config['password'] = "";
|
|
|
|
|
|
|
|
# To disable smart syntax uncomment the line below
|
|
|
|
#$config['smartsyntax'] = 0;
|
|
|
|
|
|
|
|
# Default Time zone
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['timezone'] = 'UTC';
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# To disable auto adding selected tag comment out the line below or set value to 0
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['autotag'] = 1;
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# duedate calendar format: 1 => y-m-d (default), 2 => m/d/y, 3 => d.m.y
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['duedateformat'] = 1;
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# First day of week: 0-Sunday, 1-Monday, 2-Tuesday, .. 6-Saturday
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['firstdayofweek'] = 1;
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# select session handling mechanism: files or default (php default)
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['session'] = 'files';
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Date/time formats
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['clock'] = 24;
|
|
|
|
$config['dateformat'] = 'j M Y';
|
|
|
|
$config['dateformatshort'] = 'j M';
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Show task date in list
|
2017-03-25 18:31:20 +01:00
|
|
|
$config['showdate'] = 0;
|
2020-12-31 23:19:32 +01:00
|
|
|
|
|
|
|
# Autodetect mobile devices and switch theme
|
|
|
|
$config['detectmobile'] = 1;
|
|
|
|
|
2017-03-25 18:31:20 +01:00
|
|
|
?>
|