Subversion Repositories SvarDOS

Rev

Rev 1228 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1223 mateusz.vi 1
<?php
2
 
3
// ustaw na TRUE jeśli instalacja wspiera "ładne" adresy. Wymaga reguł MOD_REWRITE w .htaccess:
4
// RewriteEngine On
5
// RewriteRule "^([0-9][0-9][0-9][0-9])/$" "?action=archiwum&y=$1" [PT]
6
// RewriteRule "^([0-9][0-9][0-9][0-9][0-9]+)" "?thread=$1" [PT]
7
$NICE_URLS = FALSE;
8
 
9
// Data directory, ie the place where mateuszforum will store its sqlite db and
10
// forum threads. This directory must be writeable by the process running
11
// mateuszforum.
12
// This directory path can be empty, but if not then it MUST end with a path
13
// delimiter (typically, a slash)
14
$DATADIR = '/srv/svardos-forumdata/';
15
 
16
// year of first forum activity, used to generate a list of links to archives
17
$INITYEAR = 2023;
18
 
19
// parametr solny dla funkcji crypt() - istotne tylko przy generowaniu tripkodów
20
$TRIP_SALT = trim(file_get_contents($DATADIR . 'tripsalt.txt'));
21
 
1228 mateusz.vi 22
$SEARCH_API_URL = 'https://www.googleapis.com/customsearch/v1/siterestrict?key=AIzaSyCxLEZe7_LdeOBtPzs4LEbwXmr1bGERfDE&cx=8928515a857418bb5&q=';
1223 mateusz.vi 23
 
1228 mateusz.vi 24
$RSS_TITLE = 'SvarDOS community forum';
25
 
1231 mateusz.vi 26
$SELFURL = 'http://svardos.org/?p=forum';
1223 mateusz.vi 27
 
28
?>