mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
added default config
This commit is contained in:
parent
6ac78d4305
commit
c2dfcabfc9
2 changed files with 40 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
syntax: glob
|
||||
|
||||
src/db/todolist.db
|
||||
src/tmp/sessions/sess*
|
||||
src/db/config.php
|
||||
|
|
|
|||
38
src/db/config.php.default
Normal file
38
src/db/config.php.default
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
# Configuration goes here
|
||||
$config = array();
|
||||
|
||||
# Uncomment this line if you want to use Mysql, in format: array("host","login","password","database");
|
||||
#$config['mysql'] = array("localhost","user","password", "mytinytodo");
|
||||
|
||||
# To use old SQLite2 (instead of SQLite3) uncomment the line below
|
||||
#$config['sqlite'] = 2;
|
||||
|
||||
# Language pack
|
||||
$config['lang'] = "en";
|
||||
|
||||
# Specify password here to protect your tasks from modification,
|
||||
# or leave empty that everyone could read/write todolist
|
||||
$config['password'] = "";
|
||||
|
||||
# Restrict access for the others when password above is set:
|
||||
# "no" - No access, "read" - Read only
|
||||
$config['allow'] = "no";
|
||||
|
||||
# To disable smart syntax uncomment the line below
|
||||
#$config['smartsyntax'] = 0;
|
||||
|
||||
# To disable auto detecting user time zone uncomment the line below
|
||||
#$config['autotz'] = 0;
|
||||
|
||||
# To disable auto adding selected tag comment out the line below or set value to 0
|
||||
$config['autotag'] = 1;
|
||||
|
||||
# duedate calendar format: 1 => y-m-d (default), 2 => m/d/y, 3 => d.m.y
|
||||
$config['duedateformat'] = 1;
|
||||
|
||||
# select session handling mechanism: files or default (php default)
|
||||
$config['session'] = 'files';
|
||||
|
||||
?>
|
||||
Loading…
Reference in a new issue