mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Signed-off-by: Laszlo Papp <djszapi@archlinux.us> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
50 lines
1.2 KiB
Protocol Buffer
50 lines
1.2 KiB
Protocol Buffer
<?php
|
|
|
|
# NOTE: modify these variables if your MySQL setup is different
|
|
|
|
define( "AUR_db_host", "localhost:/var/run/mysqld/mysqld.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", "/srv/aur/unsupported-temp/" );
|
|
define( "INCOMING_DIR", "/srv/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 );
|
|
|
|
# Default language for displayed messages in the web interface.
|
|
define("DEFAULT_LANG", "en");
|
|
|
|
# Languages we have translations for
|
|
$SUPPORTED_LANGS = array(
|
|
"ca" => "Català",
|
|
"cs" => "česky",
|
|
"da" => "Dansk",
|
|
"de" => "Deutsch",
|
|
"en" => "English",
|
|
"el_GR" => "Ελληνικά",
|
|
"es" => "Español",
|
|
"fr" => "Français",
|
|
"he" => "עברית",
|
|
"hr" => "Hrvatski",
|
|
"hu" => "Magyar",
|
|
"it" => "Italiano",
|
|
"nb_NO" => "Norsk",
|
|
"pl" => "Polski",
|
|
"pt" => "Português",
|
|
"ro" => "Română",
|
|
"ru" => "Русский",
|
|
"sr" => "Srpski",
|
|
"tr" => "Türkçe",
|
|
"uk" => "Українська",
|
|
"zh_CN" => "简体中文"
|
|
);
|
|
|
|
# Idle seconds before timeout
|
|
$LOGIN_TIMEOUT = 7200;
|
|
|