forked from automaciej/phpbb3-static
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php-example
42 lines (33 loc) · 1.33 KB
/
config.php-example
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
<?php
// This works with a MySQL database. If your forum uses a different database,
// you need to modify convert.php to connect to your DB.
$db_host = 'localhost';
$db_user = 'phpbb';
$db_pass = 'phpbb';
$db_name = 'phpbb';
$db_prefix = 'phpbb3_';
// Do not archive these forums. The typical use case is if you have a
// private/hidden forum. This script doesn't understand or process phpBB
// permissions system, you have to do it manually here.
$filter_forum = array();
$template_dir = 'templates/';
$target_dir = 'static/';
$forum_name = 'MDN Forums Archive';
$forum_description = 'Static archive of the old MDN forums. See <a href="/discussion" target="_top">the discussion page</a> for current resources';
$topics_append_html = <<<HTML
<!-- This will be appended to each topic. You can use it to add links at the end
of each topic page. -->
HTML
;
// If set, will add tracking code to each page.
// $google_analytics = 'UA-XXXXXX-Y';
// The URL of the live forum. This is used to create links from topics in the
// archive to the live forum.
$forum_url = 'http://developer.mozilla.org/static/forums';
// The archive root. Used to generate absolute links (e.g. in the sitemap).
$archive_base_url = 'http://www.example.com/forum-archive/';
define('PHPBB3', 3);
define('PHPBB2', 2);
$phpbb_version = PHPBB3;
$phpbb3_minor_version = 0; // 0, 1 or 2
?>