1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mytinytodo_ynh.git synced 2024-09-03 19:46:01 +02:00
mytinytodo_ynh/conf/config.php

61 lines
1.7 KiB
PHP
Raw Normal View History

2017-03-25 18:31:20 +01:00
<?php
# Configuration goes here
2017-03-25 18:31:20 +01:00
$config = array();
# Database type: sqlite or mysql
2017-03-25 18:31:20 +01:00
$config['db'] = 'mysql';
# Specify these settings if you selected above to use Mysql
$config['mysql.host'] = "localhost";
$config['mysql.db'] = "__DB_NAME__";
$config['mysql.user'] = "__DB_NAME__";
$config['mysql.password'] = "__DB_PASSWORD__";
# 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'] = '';
$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';
# 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;
# 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;
# First day of week: 0-Sunday, 1-Monday, 2-Tuesday, .. 6-Saturday
2017-03-25 18:31:20 +01:00
$config['firstdayofweek'] = 1;
# select session handling mechanism: files or default (php default)
2017-03-25 18:31:20 +01:00
$config['session'] = 'files';
# Date/time formats
2017-03-25 18:31:20 +01:00
$config['clock'] = 24;
$config['dateformat'] = 'j M Y';
$config['dateformatshort'] = 'j M';
# Show task date in list
2017-03-25 18:31:20 +01:00
$config['showdate'] = 0;
# Autodetect mobile devices and switch theme
$config['detectmobile'] = 1;
2017-03-25 18:31:20 +01:00
?>