1<?php
2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
3//
4// All Rights Reserved. See copyright.txt for details and a complete list of authors.
5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
6// $Id$
7
8function prefs_t_list()
9{
10	return [
11		't_use_db' => [
12			'name' => tra('Storage'),
13			'description' => tra('Location where tracker attachment files are stored'),
14			'type' => 'list',
15			'options' => [
16				'y' => tra('Database'),
17				'n' => tra('Filesystem'),
18			],
19			'default' => 'y',
20			'tags' => ['basic'],
21		],
22		't_use_dir' => [
23			'name' => tra('Directory path'),
24			'description' => tra("Path of a directory on Tiki's host, such as /var/www/. For confidentiality, this directory should not be web accessible. PHP must be able to read/write to the directory."),
25			'type' => 'text',
26			'size' => 50,
27			'default' => '',
28			'tags' => ['basic'],
29		],
30	];
31}
32