X-Git-Url: https://git.jankratochvil.net/?p=kewensis.git;a=blobdiff_plain;f=config.php;h=c2faf9140bcc150c0f34629c404382de84cd3544;hp=376616236d82bea1d21cf79ce8230105721cdef2;hb=670bf3198dd46a70d44d922162078a0784244811;hpb=cc9a120fa1095fe32c186606799e005456fccb54 diff --git a/config.php b/config.php index 3766162..c2faf91 100644 --- a/config.php +++ b/config.php @@ -3,11 +3,18 @@ $admin_mail="short@ucw.cz"; $cvs_mailhost="vellum.cz"; $viewcvs=ereg_replace("^/","http://short.vellum.cz/cgi-bin/viewcvs/kewensis/",$HTTP_SERVER_VARS["SCRIPT_NAME"]); + $title_prefix="Kewensis"; + $force_charset="utf-8"; // library texts will be corrupted but who cares + + $limit_max_default=10; + $footer_LOCAL=1; // disable remote footer images $db_host=""; $db_user="short"; - $db_pwd_a=file("/home/short/priv/mysql.${db_user}.pwd"); + $db_pwd_a=@file("/home/short/priv/mysql.${db_user}.pwd"); $db_pwd=trim($db_pwd_a[0]); + if (!$db_pwd) // defaults to $db_pwd=$db_user if no password file found + $db_pwd=$db_user; $db_name="short"; $tb_tree="kewensis_tree";