-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.default.php
82 lines (65 loc) · 2.18 KB
/
config.default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
$pushpassword=""; // used for sysop panel and /u/push
$nodeName="lenina"; // message fingerprint for your node
$postlimit=87382; // limit for base64 pointmsg
$msgtextlimit=65536; // limit for message text (with headers)
$filesize_limit = 1024 * 1024 * 30; // 30M for uploads
$max_dir_quota = 1024 * 1024 * 1024; // 1G for storage_directory
// web-interface settings
$session_lifetime=1728000;
$display_last_msg=true; // show last message on main page
$interface_name=null; // string should be here; "null" sets default
$default_title=null; // also string
$onPage=20; // show N messages per page
// /x/file storage path
$files_directory="./";
// rss bots/parsers settings
$rss_cache_directory="./feeds";
$rss_msgtext_limit=$msgtextlimit-400;
// used for rss displayer
$rss_echoareas=["mlp.15", "develop.16"];
$blacklist_file="blacklist.txt";
$fblacklist_file="fblacklist.txt";
$mysqldata=array(
"host" => "localhost",
"db" => "test",
"user" => "root",
"pass" => "",
"table" => "ii-messages"
);
# PostgreSQL requires table names without -
$postgredata=array(
"host" => "localhost",
"port" => 5432,
"db" => "test",
"user" => "psql",
"pass" => "",
"table" => "idec_messages"
);
$transport=new TextBase("echo/", "msg/");
// $transport=new MysqlBase($mysqldata); // for mysql base
// $transport=new PostgreBase($postgredata); // for postgresql base
$file_transport = new NoBaseFileTransport("fecho/", "upload_files/");
$parr=[
["","root"],
["","point1"]
]; // array of your points
$echolist=[
["im.100", "Наша болталка"],
["ii.dev.14", "Обсуждение разработки"],
["linux.14", "Эха для линуксоидов"],
["ii.soft.14", "Анонсы и обсуждение ПО"]
];
$public_files=[
"README.md" => "Справка по PHP-ноде",
"123.txt" => "Какой-нибудь текстовый файл"
];
$file_echolist=[
["books", "Любые другие книги, например, художественные"],
["pictures", "Просто картинки"],
["music", "Всякая разная музыка"]
];
$private_files=[
"filename.txt" => "Файл, который могут скачивать только поинты"
];
?>