aurweb/web/lib/config.inc.proto
tardo 881b921eb3 Fixed version strings.
Added AUR_VERSION to config file, so now we should only need to
change one location. KISS ftw.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-02 07:29:27 -04:00

44 lines
1.2 KiB
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( "AURQ_LOG", "/home/aur/aurq.log" );
define( "AURD_LOG", "/home/aur/aurd.log" );
define( "USERNAME_MIN_LEN", 3 );
define( "USERNAME_MAX_LEN", 16 );
define( "PASSWD_MIN_LEN", 4 );
define( "PASSWD_MAX_LEN", 128 );
define( "AUR_VERSION", "<b>Version 1.4.0</b>" );
$LOGIN_TIMEOUT = 7200; # number of idle seconds before timeout
# debugging variables
#
$QBUG = 1; # toggle query logging to /var/tmp/aurq.log
$DBUG = 1; # use dbug($msg) to log to /var/tmp/aurd.log
$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
?>