Subversion Repositories SvarDOS

Rev

Rev 1228 | Go to most recent revision | Details | 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
 
22
$SEARCH_API_URL = '';
23
 
24
function selfurl($params = '') {
25
  $r = '?p=forum';
26
  if (!empty($params)) $r .= '&' . $params;
27
  return($r);
28
}
29
 
30
 
31
?>