aurweb/web/lib/config.inc.proto
Loui Chang 3577326b2b Make all references to AUR database consistent
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:17 -05:00

34 lines
925 B
Protocol Buffer

<?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"
);
# vim: ts=2 sw=2 noet ft=php
?>