summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.proto
blob: 7a0a155d8e5ff1148dde8aacca47298b6bd7c6c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
# NOTE: modify these variables if your MySQL setup is different
#
define( "AUR_db_host", "localhost:/tmp/mysql.sock" );
define( "AUR_db_name", "AUR" );
define( "AUR_db_user", "aur" ); 
define( "AUR_db_pass", "aur" );

# Configuration of directories where things live
define( "UPLOAD_DIR", "/home/aur/unsupported-temp/" );
define( "INCOMING_DIR", "/home/aur/unsupported/" );
define( "URL_DIR", "/packages/" );

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

$LOGIN_TIMEOUT = 7200;           # number of idle seconds before timeout

$SUPPORTED_LANGS = array(        # what languages we have translations for
	"en" => "English",
	"pl" => "Polski",
	"it" => "Italiano",
	"ca" => "Català",
	"pt" => "Português",
	"es" => "Español",
	"de" => "Deutsch",
	"ru" => "Русский",
	"fr" => "Français"
);

?>