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
8//this script may only be included - so its better to die if called directly.
9if (strpos($_SERVER['SCRIPT_NAME'], basename(__FILE__)) !== false) {
10	header('location: index.php');
11	exit;
12}
13
14function prefs_intertiki_list()
15{
16	return [
17		'intertiki_errfile' => [
18			'name' => tra('Errors log file'),
19			'size' => 42,
20			'type' => 'text',
21			'filter' => 'text',
22			'description' => tra('location, from your tiki root dir, where you want the error log file stored'),
23			'default' => 'temp/intertiki-error.log',
24		],
25		'intertiki_logfile' => [
26			'name' => tra('Access log file'),
27			'size' => 42,
28			'type' => 'text',
29			'description' => tra('location, from your tiki root dir, where you want the access log file stored.'),
30			'filter' => 'text',
31			'default' => 'temp/intertiki-access.log',
32		],
33	];
34}
35