config.sample.php 788 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?php

mysql_connect("localhost","user","password");
mysql_select_db("database");

$csrf_key="random long string of characters (seriously, change me, pwgen 40 1 is good ;) )";

$domain="jabber.lqdn.fr";

10 11 12 13 14 15 16
// After this many days without login, an account is disabled (random password in prosody, disabled in the database)
$disable_timeout=190;
// After this many days withoug login, an account is destroyed for good both in prosody and in the db
$destroy_timeout=370;
// When you create an account, you must log into it before that many days, after that it is destroyed
$firstlogin_timeout=7;

17 18 19 20 21
$mail_from="jabber@laquadrature.net";
$mail_fromname="La Quadrature du Net Jabber Team";
$rooturl="https://jabber.lqdn.fr/my";
$suport_pgp="0x26B773FF9FF6C148";

22 23
require_once("functions.php");