config.inc.proto 1.17 KB
Newer Older
1
<?php
2

3
# NOTE: modify these variables if your MySQL setup is different
4

Andrea Scarpino's avatar
Andrea Scarpino committed
5
define( "AUR_db_host", "localhost:/var/run/mysqld/mysqld.sock" );
6
define( "AUR_db_name", "AUR" );
Loui Chang's avatar
Loui Chang committed
7
define( "AUR_db_user", "aur" );
8
define( "AUR_db_pass", "aur" );
9

10
# Configuration of directories where things live
11
12
define( "UPLOAD_DIR", "/srv/aur/unsupported-temp/" );
define( "INCOMING_DIR", "/srv/aur/unsupported/" );
13
14
15
16
17
18
19
define( "URL_DIR", "/packages/" );

define( "USERNAME_MIN_LEN", 3 );
define( "USERNAME_MAX_LEN", 16 );
define( "PASSWD_MIN_LEN", 4 );
define( "PASSWD_MAX_LEN", 128 );

20
# Default language for displayed messages in the web interface.
Loui Chang's avatar
Loui Chang committed
21
define("DEFAULT_LANG", "en");
22

Loui Chang's avatar
Loui Chang committed
23
24
# Languages we have translations for
$SUPPORTED_LANGS = array(
25
	"ca" => "Català",
Laszlo Papp's avatar
Laszlo Papp committed
26
	"cs" => "česky",
27
	"de" => "Deutsch",
28
	"en" => "English",
flamelab's avatar
flamelab committed
29
	"el_GR" => "Ελληνικά",
30
31
	"es" => "Español",
	"fr" => "Français",
32
	"hr" => "Hrvatski",
Laszlo Papp's avatar
Laszlo Papp committed
33
	"hu" => "Magyar",
34
	"it" => "Italiano",
Laszlo Papp's avatar
Laszlo Papp committed
35
	"nb_NO" => "Norsk",
36
	"pl" => "Polski",
37
	"pt" => "Português",
38
	"ro" => "Română",
39
	"ru" => "Русский",
Slobodan Terzic's avatar
Slobodan Terzic committed
40
	"sr" => "Srpski",
Loui Chang's avatar
Loui Chang committed
41
	"tr" => "Türkçe",
42
	"uk" => "Українська",
Loui Chang's avatar
Loui Chang committed
43
	"zh_CN" => "简体中文"
44
);
45

Loui Chang's avatar
Loui Chang committed
46
47
48
# Idle seconds before timeout
$LOGIN_TIMEOUT = 7200;